diff options
author | Andres Freund <andres@anarazel.de> | 2015-08-15 17:25:00 +0200 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2015-08-15 17:25:00 +0200 |
commit | e95126cf048b08d7ff5eb72ec33737e9e27c08f8 (patch) | |
tree | 1a02049f9cd86282a5cf6e9f6aa57c55c4906466 /src/backend/utils/time/snapmgr.c | |
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/utils/time/snapmgr.c')
-rw-r--r-- | src/backend/utils/time/snapmgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/time/snapmgr.c b/src/backend/utils/time/snapmgr.c index 2f0e9cda8c3..074935ce381 100644 --- a/src/backend/utils/time/snapmgr.c +++ b/src/backend/utils/time/snapmgr.c @@ -345,7 +345,7 @@ GetNonHistoricCatalogSnapshot(Oid relid) * cycles we spent tracking such fine details would be well-spent. */ void -InvalidateCatalogSnapshot() +InvalidateCatalogSnapshot(void) { CatalogSnapshotStale = true; } |