From e95126cf048b08d7ff5eb72ec33737e9e27c08f8 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Sat, 15 Aug 2015 17:25:00 +0200 Subject: 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. --- src/backend/access/transam/twophase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/access') diff --git a/src/backend/access/transam/twophase.c b/src/backend/access/transam/twophase.c index 177d1e1432e..d48d101340f 100644 --- a/src/backend/access/transam/twophase.c +++ b/src/backend/access/transam/twophase.c @@ -295,7 +295,7 @@ AtAbort_Twophase(void) * PGXACT entry. */ void -PostPrepare_Twophase() +PostPrepare_Twophase(void) { LWLockAcquire(TwoPhaseStateLock, LW_EXCLUSIVE); MyLockedGxact->locking_backend = InvalidBackendId; -- cgit v1.2.3