summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/cron/cron/cron.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/cron/cron/cron.c b/usr.sbin/cron/cron/cron.c
index 3ebdcf2..671d970 100644
--- a/usr.sbin/cron/cron/cron.c
+++ b/usr.sbin/cron/cron/cron.c
@@ -398,7 +398,8 @@ cron_clean(db)
#ifdef USE_SIGCHLD
static void
-sigchld_handler(x) {
+sigchld_handler(int x)
+{
WAIT_T waiter;
PID_T pid;
@@ -428,7 +429,8 @@ sigchld_handler(x) {
static void
-sighup_handler(x) {
+sighup_handler(int x)
+{
log_close();
}
OpenPOWER on IntegriCloud