summaryrefslogtreecommitdiff
path: root/src/csplit.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-06-22 03:59:27 +0000
committerJim Meyering <jim@meyering.net>1995-06-22 03:59:27 +0000
commit3f7672063601735d4a5fb42eb9cf59c9f2c588ee (patch)
tree805d04e57e889f4273089fa5e3d8bdb6f91b8217 /src/csplit.c
parent3fba1e486e23b06fc7cf83c3b92ca61057987fb5 (diff)
downloadcoreutils-3f7672063601735d4a5fb42eb9cf59c9f2c588ee.tar.xz
(interrupt_handler): Declare to have a single integer
parameter. Otherwise, some compilers failed with a type mismatch error in sa_handler assignment.
Diffstat (limited to 'src/csplit.c')
-rw-r--r--src/csplit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/csplit.c b/src/csplit.c
index a4588e3c4..5f71de323 100644
--- a/src/csplit.c
+++ b/src/csplit.c
@@ -1422,7 +1422,8 @@ max_out (format)
}
static void
-interrupt_handler ()
+interrupt_handler (signum)
+ int signum;
{
error (0, 0, "interrupted");
cleanup ();