From 0f5b43550c071832afd0c2e21e9c9fe9a2260ac6 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 13 Apr 2011 08:45:28 -0400 Subject: [PATCH] fix incorrect GNU sighandler_t typedef --- include/signal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/signal.h b/include/signal.h index 6116fb43..2e621ac7 100644 --- a/include/signal.h +++ b/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 -- 2.25.1