]> 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)
commitb1145ca19819ae0d64ef9a3cfd0ed94d300389b3
treeaae76b3e6e2f6e460eca2736a71a303a9b6c9a8d
parent4e3b1e2389e8f4950a1a2a176d335d1344b88a11
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