]> granicus.if.org Git - sudo/commitdiff
signal handler now takes an int argument
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 24 May 1994 22:00:35 +0000 (22:00 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 24 May 1994 22:00:35 +0000 (22:00 +0000)
visudo.c

index 55e76d6686044715950aceeb8476f87a5a2b1bf6..b9f7743a68ccf0fae45df0df18cea6f7a62e8c87 100644 (file)
--- a/visudo.c
+++ b/visudo.c
@@ -74,7 +74,8 @@ int  status = 0,
 FILE *sudoers_tmp_fp=NULL,
      *sudoers_fp=NULL;
 
-RETSIGTYPE Exit()
+static RETSIGTYPE Exit(sig)
+    int sig;
 {
     if (sudoers_tmp_fp)
        (void) fclose(sudoers_tmp_fp);