]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(sigill_handler, isaac_seed_machdep): Use void, not (obsolete) RETSIGTYPE.
authorJim Meyering <jim@meyering.net>
Tue, 20 Apr 2004 15:05:40 +0000 (15:05 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 20 Apr 2004 15:05:40 +0000 (15:05 +0000)
src/shred.c

index 80415bf3d5477fa3077e0c60b8bea594aded8705..2c34c11bc9bf0d74480f5cd6593a3f08c14b4183 100644 (file)
@@ -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);