summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/signalmodule.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index 3a2a6df..6fe516a 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -143,9 +143,7 @@ signal_handler(int sig_num)
siginterrupt(sig_num, 1);
#endif
signal(sig_num, signal_handler);
-#if RETSIGTYPE != void
- return 0;
-#endif
+ Py_RETURN_FROM_SIGNAL_HANDLER(0);
}