diff options
| author | Andres Freund | 2015-08-15 15:25:00 +0000 |
|---|---|---|
| committer | Andres Freund | 2015-08-15 15:25:00 +0000 |
| commit | e95126cf048b08d7ff5eb72ec33737e9e27c08f8 (patch) | |
| tree | 1a02049f9cd86282a5cf6e9f6aa57c55c4906466 /src/backend/access | |
| parent | f9dec81a5493bc31fdbbf69b5fafe0d4452a38f1 (diff) | |
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.
Diffstat (limited to 'src/backend/access')
| -rw-r--r-- | src/backend/access/transam/twophase.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
