From: Rich Felker Date: Wed, 13 Apr 2011 12:45:28 +0000 (-0400) Subject: fix incorrect GNU sighandler_t typedef X-Git-Tag: v0.7.8~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0f5b43550c071832afd0c2e21e9c9fe9a2260ac6;p=oweals%2Fmusl.git fix incorrect GNU sighandler_t typedef --- 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