From ac58fd7ef46ff44b780b593f066e16b6464efe7f Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 17 May 1997 15:48:50 +0000 Subject: [PATCH] Fix sighandler signature. --- usr.sbin/screenblank/screenblank.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/usr.sbin/screenblank/screenblank.c b/usr.sbin/screenblank/screenblank.c index 3ac463871b62..49c81ce71e98 100644 --- a/usr.sbin/screenblank/screenblank.c +++ b/usr.sbin/screenblank/screenblank.c @@ -1,4 +1,4 @@ -/* $NetBSD: screenblank.c,v 1.3 1996/06/23 22:08:43 thorpej Exp $ */ +/* $NetBSD: screenblank.c,v 1.4 1997/05/17 15:48:50 christos Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -77,7 +77,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. */