From: Jim Meyering Date: Tue, 20 Apr 2004 15:05:40 +0000 (+0000) Subject: (sigill_handler, isaac_seed_machdep): Use void, not (obsolete) RETSIGTYPE. X-Git-Tag: v5.3.0~1701 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31ef15a49f7b64c3aa780dc96e441495f0ecf0a4;p=thirdparty%2Fcoreutils.git (sigill_handler, isaac_seed_machdep): Use void, not (obsolete) RETSIGTYPE. --- diff --git a/src/shred.c b/src/shred.c index 80415bf3d5..2c34c11bc9 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);