about summary refs log tree commit diff
path: root/libio/cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/cleanup.c')
-rw-r--r--libio/cleanup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/cleanup.c b/libio/cleanup.c
index 1f316ebb33..4a068083d0 100644
--- a/libio/cleanup.c
+++ b/libio/cleanup.c
@@ -14,7 +14,7 @@ DEFUN_VOID(_IO_register_cleanup)
   _IO_cleanup_registration_needed = 0;
 }
 
-void (*_IO_cleanup_registration_needed)() = _IO_register_cleanup;
+void (*_IO_cleanup_registration_needed) __P((void)) = _IO_register_cleanup;
 #else
-void (*_IO_cleanup_registration_needed)() = NULL;
+void (*_IO_cleanup_registration_needed) __P((void)) = NULL;
 #endif /* _G_HAVE_ATEXIT */