Use SIGNAL_ARGS consistently to declare signal handlers.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 Sep 2022 18:44:45 +0000 (14:44 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 14 Sep 2022 18:44:50 +0000 (14:44 -0400)
Various bits of code were declaring signal handlers manually,
using "int signum" or variants of that.  We evidently have no
platforms where that's actually wrong, but let's use our
SIGNAL_ARGS macro everywhere anyway.  If nothing else, it's
good for finding signal handlers easily.

No need for back-patch, since this is just cosmetic AFAICS.

Discussion: https://postgr.es/m/2684964.1663167995@sss.pgh.pa.us

src/backend/storage/ipc/pmsignal.c
src/bin/initdb/initdb.c
src/bin/pg_basebackup/pg_receivewal.c
src/bin/pg_basebackup/pg_recvlogical.c
src/bin/pg_ctl/pg_ctl.c
src/bin/pg_test_fsync/pg_test_fsync.c
src/bin/pg_waldump/pg_waldump.c
src/include/port.h