summaryrefslogtreecommitdiff
path: root/misc/syslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/syslog.c')
-rw-r--r--misc/syslog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/syslog.c b/misc/syslog.c
index 4976e89b6e..70daa9e1f3 100644
--- a/misc/syslog.c
+++ b/misc/syslog.c
@@ -425,7 +425,7 @@ sigpipe_handler (int signo)
#endif
static void
-closelog_internal()
+closelog_internal (void)
{
if (!connected)
return;
@@ -436,7 +436,7 @@ closelog_internal()
}
void
-closelog ()
+closelog (void)
{
/* Protect against multiple users and cancellation. */
__libc_cleanup_push (cancel_handler, NULL);