]> granicus.if.org Git - postgresql/commit
Cosmetic improvements/code cleanup:
authorNeil Conway <neilc@samurai.com>
Sun, 10 Oct 2004 23:37:45 +0000 (23:37 +0000)
committerNeil Conway <neilc@samurai.com>
Sun, 10 Oct 2004 23:37:45 +0000 (23:37 +0000)
commit0e72b9d4408ddb8bf3355d02e3a3e3c885357e9b
tree94dd35531eaf8236cccb7eb146b20124a0852fc1
parent86a39d5a196441fe0afd31bc7429842fa16c0b65
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)
src/backend/bootstrap/bootparse.y
src/backend/bootstrap/bootstrap.c
src/backend/utils/mb/wstrncmp.c
src/backend/utils/misc/guc.c
src/bin/initdb/initdb.c
src/bin/pg_config/pg_config.c
src/bin/pg_ctl/pg_ctl.c
src/bin/psql/common.c
src/interfaces/ecpg/preproc/descriptor.c
src/interfaces/ecpg/preproc/type.c
src/pl/plpgsql/src/pl_funcs.c