pgsql: Fix assorted inconsistent function declarations.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix assorted inconsistent function declarations.
Дата
Msg-id E1YfaXy-00020d-GE@gemulon.postgresql.org
обсуждение исходный текст
Список 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_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f97a0a2cc4bb029533db4e142a51717f24096de2

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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix assorted inconsistent function declarations.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix assorted inconsistent function declarations.