pgsql: Fix assorted inconsistent function declarations. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix assorted inconsistent function declarations.
Date
Msg-id E1YfaXy-00020j-H0@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix assorted inconsistent function declarations.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix assorted inconsistent function declarations.