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/storage/ipc/dsm_impl.c | |
parent | f9dec81a5493bc31fdbbf69b5fafe0d4452a38f1 (diff) | |
download | postgresql-e95126cf048b08d7ff5eb72ec33737e9e27c08f8.tar.gz postgresql-e95126cf048b08d7ff5eb72ec33737e9e27c08f8.zip |
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/storage/ipc/dsm_impl.c')
-rw-r--r-- | src/backend/storage/ipc/dsm_impl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/ipc/dsm_impl.c b/src/backend/storage/ipc/dsm_impl.c index 0b10dac7290..921f0292e36 100644 --- a/src/backend/storage/ipc/dsm_impl.c +++ b/src/backend/storage/ipc/dsm_impl.c @@ -1027,7 +1027,7 @@ dsm_impl_pin_segment(dsm_handle handle, void *impl_private) } static int -errcode_for_dynamic_shared_memory() +errcode_for_dynamic_shared_memory(void) { if (errno == EFBIG || errno == ENOMEM) return errcode(ERRCODE_OUT_OF_MEMORY); |