diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-07-13 03:28:49 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-07-13 03:28:49 +0000 |
commit | 4f6d47becdbc903fdf4f7228d8b6ca9f5f49cc91 (patch) | |
tree | c15f602ecd4a8fda52366d334adea212aff16764 /usr.sbin/cron | |
parent | 9b780008fd11a67852f11350e72d9671e4035b8e (diff) |
flags set in signal handlers should be volatile sig_atomic_t
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r-- | usr.sbin/cron/cron.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/cron/cron.c b/usr.sbin/cron/cron.c index 01b31a88e71..3772b4574a4 100644 --- a/usr.sbin/cron/cron.c +++ b/usr.sbin/cron/cron.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cron.c,v 1.13 2001/02/21 18:13:31 millert Exp $ */ +/* $OpenBSD: cron.c,v 1.14 2001/07/13 03:28:48 millert Exp $ */ /* Copyright 1988,1990,1993,1994 by Paul Vixie * All rights reserved */ @@ -21,7 +21,7 @@ */ #if !defined(lint) && !defined(LINT) -static char rcsid[] = "$OpenBSD: cron.c,v 1.13 2001/02/21 18:13:31 millert Exp $"; +static char rcsid[] = "$OpenBSD: cron.c,v 1.14 2001/07/13 03:28:48 millert Exp $"; #endif #define MAIN_PROGRAM @@ -38,9 +38,9 @@ static void usage(void), sigchld_reaper(void), parse_args(int c, char *v[]); -static int got_sighup, got_sigchld; -static int timeRunning, virtualTime, clockTime; -static long GMToff; +static volatile sig_atomic_t got_sighup, got_sigchld; +static int timeRunning, virtualTime, clockTime; +static long GMToff; static void usage(void) { |