mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(sigill_handler, isaac_seed_machdep): Use void, not (obsolete) RETSIGTYPE.
This commit is contained in:
1 parent
bb5a8d159c
commit
31ef15a49f
1 file changed
+2
-2
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user