]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(interrupt_handler): Declare to have a single integer
authorJim Meyering <jim@meyering.net>
Thu, 22 Jun 1995 03:59:27 +0000 (03:59 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 22 Jun 1995 03:59:27 +0000 (03:59 +0000)
parameter.  Otherwise, some compilers failed with a type mismatch
error in sa_handler assignment.

src/csplit.c

index a4588e3c41a739df2e7582c6eeac62a77834f475..5f71de323d720de7f7d242d9cddf6abaade68bf0 100644 (file)
@@ -1422,7 +1422,8 @@ max_out (format)
 }
 
 static void
-interrupt_handler ()
+interrupt_handler (signum)
+     int signum;
 {
   error (0, 0, "interrupted");
   cleanup ();