d3db425848
- merge contents of patch-ad and patch-an into patch-ad
40 lines
921 B
Plaintext
40 lines
921 B
Plaintext
--- icb/signals.c.orig Fri Feb 24 16:20:29 1995
|
|
+++ icb/signals.c Sun Jan 16 01:50:13 2000
|
|
@@ -22,14 +22,14 @@
|
|
/* sighandler askquit(), suspend(), icbexit(); */
|
|
|
|
/* exit on a hangup or terminate signal */
|
|
- signal(SIGHUP, icbexit);
|
|
- signal(SIGTERM, icbexit);
|
|
+ signal(SIGHUP, (void *)icbexit);
|
|
+ signal(SIGTERM, (void *)icbexit);
|
|
|
|
/* on an interrupt, verify the user wants to quit */
|
|
- signal(SIGINT, askquit);
|
|
+ signal(SIGINT, (void *)askquit);
|
|
|
|
/* suspend on a stop signal */
|
|
- signal(SIGTSTP, suspend);
|
|
+ signal(SIGTSTP, (void *)suspend);
|
|
}
|
|
|
|
|
|
@@ -45,7 +45,7 @@
|
|
sigsetmask(sigblock(0) &~ mask(SIGTSTP));
|
|
kill(0, SIGTSTP);
|
|
sigblock(mask(SIGTSTP));
|
|
- signal(SIGTSTP, suspend);
|
|
+ signal(SIGTSTP, (void *)suspend);
|
|
icbterm();
|
|
continued = 1;
|
|
}
|
|
@@ -73,7 +73,7 @@
|
|
if (c == 'Y' || c == 'y')
|
|
icbexit();
|
|
|
|
- signal(SIGINT, askquit);
|
|
+ signal(SIGINT, (void *)askquit);
|
|
continued = 1;
|
|
|
|
if (oem)
|