about summary refs log tree commit diff
path: root/include/signal.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-13 08:45:28 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-13 08:45:28 -0400
commit0f5b43550c071832afd0c2e21e9c9fe9a2260ac6 (patch)
treebd0ec8fa3a2fbe6d6c921f326904fb4e4fa9b86c /include/signal.h
parent6597f9ac133fd4f47dea307d6260fd52eae77816 (diff)
downloadmusl-0f5b43550c071832afd0c2e21e9c9fe9a2260ac6.tar.gz
musl-0f5b43550c071832afd0c2e21e9c9fe9a2260ac6.tar.xz
musl-0f5b43550c071832afd0c2e21e9c9fe9a2260ac6.zip
fix incorrect GNU sighandler_t typedef
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h2
1 files changed, 1 insertions, 1 deletions
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