Explorar o código

fix incorrect GNU sighandler_t typedef

Rich Felker %!s(int64=14) %!d(string=hai) anos
pai
achega
0f5b43550c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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