Parcourir la source

fix incorrect GNU sighandler_t typedef

Rich Felker il y a 14 ans
Parent
commit
0f5b43550c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      include/signal.h

+ 1 - 1
include/signal.h

@@ -100,7 +100,7 @@ void (*sigset(int, void (*)(int)))(int);
 #endif
 
 #ifdef _GNU_SOURCE
-typedef int (*sighandler_t)(int);
+typedef void (*sighandler_t)(int);
 void (*bsd_signal(int, void (*)(int)))(int);
 #endif