diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-11 08:17:00 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-11 08:17:00 +0000 |
commit | 1c8f3f34acb90faff24fc476a10afdd09aa17f1c (patch) | |
tree | 1d43b0a74a6f7355b2f415deaa604a5b5bce2127 | |
parent | 774a223bce0f89a3778523fd6d9f40a9d805ac56 (diff) |
sighandler, not 1003.1b
-rw-r--r-- | usr.sbin/screenblank/screenblank.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/screenblank/screenblank.c b/usr.sbin/screenblank/screenblank.c index d56ebf731e3..161e2f92f5e 100644 --- a/usr.sbin/screenblank/screenblank.c +++ b/usr.sbin/screenblank/screenblank.c @@ -1,4 +1,4 @@ -/* $OpenBSD: screenblank.c,v 1.2 1996/03/25 15:56:14 niklas Exp $ */ +/* $OpenBSD: screenblank.c,v 1.3 1997/06/11 08:16:59 deraadt Exp $ */ /* $NetBSD: screenblank.c,v 1.2 1996/02/28 01:18:34 thorpej Exp $ */ /*- @@ -78,7 +78,7 @@ static void add_dev __P((char *, int)); static void change_state __P((int)); static void cvt_arg __P((char *, struct timeval *)); static void logpid __P((void)); -static void sighandler __P((int, int, struct sigcontext *)); +static void sighandler __P((int)); static void usage __P((void)); int @@ -242,9 +242,8 @@ add_dev(path, isfb) /* ARGSUSED */ static void -sighandler(sig, code, context) - int sig, code; - struct sigcontext *context; +sighandler(sig) + int sig; { /* Kill the pid file and re-enable the framebuffer before exit. */ |