]> granicus.if.org Git - postgresql/commit
Fix assorted inconsistent function declarations.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 7 Apr 2015 20:56:21 +0000 (16:56 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 7 Apr 2015 20:56:21 +0000 (16:56 -0400)
commitf97a0a2cc4bb029533db4e142a51717f24096de2
tree15de7fcc446b42e40df1db1ee4f208a4e99ef154
parent8e003bc6afd2847a8458841e8ca35b94f4a59a66
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.
contrib/pg_upgrade/pg_upgrade.c
src/bin/pg_resetxlog/pg_resetxlog.c