pgsql: Fix assorted inconsistent function declarations.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix assorted inconsistent function declarations.
Date: 2015-04-07 20:56:34
Message-ID: E1YfaXy-00020o-HK@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/248c096b265d1169a45f91c99fcc74b34544f290

Modified Files
--------------
contrib/pg_upgrade/pg_upgrade.c | 2 +-
src/bin/pg_resetxlog/pg_resetxlog.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2015-04-08 02:06:47 pgsql: Mark the second argument of pg_log as the translatable string in
Previous Message Heikki Linnakangas 2015-04-07 20:30:06 pgsql: Fix reporting of missing or invalid command line arguments in pg