summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-04-20 15:05:40 +0000
committerJim Meyering <jim@meyering.net>2004-04-20 15:05:40 +0000
commit31ef15a49f7b64c3aa780dc96e441495f0ecf0a4 (patch)
treeac99c58c4f8e4cf19da979e03dbd101a1c135240 /src
parentbb5a8d159c426d25161f91dece348251f7bd5df9 (diff)
downloadcoreutils-31ef15a49f7b64c3aa780dc96e441495f0ecf0a4.tar.xz
(sigill_handler, isaac_seed_machdep): Use void, not (obsolete) RETSIGTYPE.
Diffstat (limited to 'src')
-rw-r--r--src/shred.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shred.c b/src/shred.c
index 80415bf3d..2c34c11bc 100644
--- a/src/shred.c
+++ b/src/shred.c
@@ -529,7 +529,7 @@ isaac_seed_finish (struct isaac_state *s)
* possibility of SIGILL while we're working.
*/
static jmp_buf env;
-static RETSIGTYPE
+static void
sigill_handler (int signum)
{
(void) signum;
@@ -546,7 +546,7 @@ sigill_handler (int signum)
static void
isaac_seed_machdep (struct isaac_state *s)
{
- RETSIGTYPE (*old_handler[2]) (int);
+ void (* volatile old_handler[2]) (int);
/* This is how one does try/except in C */
old_handler[0] = signal (SIGILL, sigill_handler);