mirror of
https://github.com/postgres/postgres.git
synced 2025-11-29 23:43:17 +03:00
More minor cosmetic improvements:
- remove another senseless "extern" keyword that was applied to a function definition - change a foo more function signatures from "some_type foo()" to "some_type foo(void)" - rewrite another K&R style function definition - make the type of the "action" function pointer in the KeyWord struct in src/backend/utils/adt/formatting.c more precise
This commit is contained in:
@@ -39,9 +39,7 @@
|
||||
#include "mb/pg_wchar.h"
|
||||
|
||||
int
|
||||
pg_char_and_wchar_strcmp(s1, s2)
|
||||
register const char *s1;
|
||||
register const pg_wchar *s2;
|
||||
pg_char_and_wchar_strcmp(const char *s1, const pg_wchar *s2)
|
||||
{
|
||||
while ((pg_wchar) *s1 == *s2++)
|
||||
if (*s1++ == 0)
|
||||
|
||||
Reference in New Issue
Block a user