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

From Andres Freund
Subject pgsql: Don't use function definitions looking like old-style ones.
Date
Msg-id E1ZQdNe-0005d4-4W@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Correct type of waitMode variable in ExecInsertIndexTuples().
Next
From: Tom Lane
Date:
Subject: pgsql: Repair unsafe use of shared typecast-lookup table in plpgsql DO