瀏覽代碼

fix incorrect GNU sighandler_t typedef

Rich Felker 14 年之前
父節點
當前提交
0f5b43550c
共有 1 個文件被更改,包括 1 次插入1 次删除
  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