pgsql: Don't use function definitions looking like old-style ones.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't use function definitions looking like old-style ones.
Date: 2015-08-15 15:28:22
Message-ID: E1ZQdNe-0005d4-4W@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Don't use function definitions looking like old-style ones.

This fixes a bunch of somewhat pedantic warnings with new
compilers. Since by far the majority of other functions definitions use
the (void) style it just seems to be consistent to do so as well in the
remaining few places.

Branch
------
master

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

Modified Files
--------------
contrib/pg_standby/pg_standby.c | 2 +-
src/backend/access/transam/twophase.c | 2 +-
src/backend/commands/trigger.c | 2 +-
src/backend/replication/logical/snapbuild.c | 2 +-
src/backend/replication/repl_scanner.l | 2 +-
src/backend/replication/walsender.c | 2 +-
src/backend/storage/ipc/dsm_impl.c | 2 +-
src/backend/utils/time/snapmgr.c | 2 +-
src/bin/pg_resetxlog/pg_resetxlog.c | 2 +-
src/pl/plperl/plperl.c | 2 +-
10 files changed, 10 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-08-15 16:01:03 pgsql: Repair unsafe use of shared typecast-lookup table in plpgsql DO
Previous Message Andres Freund 2015-08-15 15:12:47 pgsql: Correct type of waitMode variable in ExecInsertIndexTuples().