summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2006-07-20 09:11:08 +0000
committerstefanf <stefanf@FreeBSD.org>2006-07-20 09:11:08 +0000
commit372c92d21957536ac93e908588391256e32e76cf (patch)
tree20f6305c0d4f27ada680f1c4ef9640c200dea832 /usr.sbin/cron
parentdf16853b7f15bb79dfe2674396556d704ca0048a (diff)
downloadFreeBSD-src-372c92d21957536ac93e908588391256e32e76cf.zip
FreeBSD-src-372c92d21957536ac93e908588391256e32e76cf.tar.gz
Don't use "implicit int". Move the opening { of the functions to the next
line while there.
Diffstat (limited to 'usr.sbin/cron')
-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