diff options
| author | Neil Conway <neilc@samurai.com> | 2004-10-10 23:37:45 +0000 |
|---|---|---|
| committer | Neil Conway <neilc@samurai.com> | 2004-10-10 23:37:45 +0000 |
| commit | 0e72b9d4408ddb8bf3355d02e3a3e3c885357e9b (patch) | |
| tree | 94dd35531eaf8236cccb7eb146b20124a0852fc1 /src/backend/bootstrap/bootstrap.c | |
| parent | 86a39d5a196441fe0afd31bc7429842fa16c0b65 (diff) | |
Cosmetic improvements/code cleanup:
- replace some function signatures of the form "some_type foo()" with
"some_type foo(void)"
- replace a few instances of a literal 0 being used as a NULL pointer;
there are more instances of this in the code, but I just fixed a few
- in src/backend/utils/mb/wstrncmp.c, replace K&R style function
declarations with ANSI style, remove use of 'register' keyword
- remove an "extern" modifier that was applied to a function definition
(rather than a declaration)
Diffstat (limited to 'src/backend/bootstrap/bootstrap.c')
| -rw-r--r-- | src/backend/bootstrap/bootstrap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/bootstrap/bootstrap.c b/src/backend/bootstrap/bootstrap.c index d85692cb62f..04792c7261a 100644 --- a/src/backend/bootstrap/bootstrap.c +++ b/src/backend/bootstrap/bootstrap.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/bootstrap/bootstrap.c,v 1.194 2004/10/08 01:36:33 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/bootstrap/bootstrap.c,v 1.195 2004/10/10 23:37:16 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -1012,7 +1012,7 @@ EnterString(char *str) len = strlen(str); - node = FindStr(str, len, 0); + node = FindStr(str, len, NULL); if (node) return node->strnum; else |
