1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00

Renaming cleanup, no pgindent yet.

This commit is contained in:
Bruce Momjian
1998-09-01 03:29:17 +00:00
parent 2aa080fc93
commit af74855a60
329 changed files with 4380 additions and 4388 deletions

View File

@@ -43,6 +43,6 @@ pg_char_and_wchar_strcmp(s1, s2)
{
while ((pg_wchar)*s1 == *s2++)
if (*s1++ == 0)
return (0);
return (*(const unsigned char *)s1 - *(const pg_wchar *)(s2 - 1));
return 0;
return *(const unsigned char *)s1 - *(const pg_wchar *)(s2 - 1);
}

View File

@@ -42,7 +42,7 @@ pg_wchar_strncmp(s1, s2, n)
{
if (n == 0)
return (0);
return 0;
do {
if (*s1 != *s2++)
return (*(const pg_wchar *)s1 -
@@ -50,7 +50,7 @@ pg_wchar_strncmp(s1, s2, n)
if (*s1++ == 0)
break;
} while (--n != 0);
return (0);
return 0;
}
int
@@ -61,7 +61,7 @@ pg_char_and_wchar_strncmp(s1, s2, n)
{
if (n == 0)
return (0);
return 0;
do {
if ((pg_wchar )*s1 != *s2++)
return (*(const pg_wchar *)s1 -
@@ -69,7 +69,7 @@ pg_char_and_wchar_strncmp(s1, s2, n)
if (*s1++ == 0)
break;
} while (--n != 0);
return (0);
return 0;
}
size_t