pgsql: Fix assorted inconsistent function declarations.
pgsql: Fix assorted inconsistent function declarations.
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Fix assorted inconsistent function declarations. While gcc doesn't complain if you declare a function "static" and then define it not-static, other compilers do; and in any case the code is highly misleading this way. Add the missing "static" keywords to a couple of recent patches. Per buildfarm member pademelon. Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/6a560f5b5ff889ae252b9d8ee1f45b616fd6adbc Modified Files -------------- contrib/pg_upgrade/pg_upgrade.c | 2 +- src/bin/pg_resetxlog/pg_resetxlog.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)