mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
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.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user