summaryrefslogtreecommitdiffstats
path: root/Modules/signalmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r--Modules/signalmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index 1c11fdd..cfbfe20 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -123,7 +123,7 @@ signal_handler(sig_num)
is_tripped++;
Handlers[sig_num].tripped = 1;
Py_AddPendingCall(
- (int (*) Py_PROTO((ANY *)))PyErr_CheckSignals, NULL);
+ (int (*)(ANY *))PyErr_CheckSignals, NULL);
#ifdef WITH_THREAD
}
#endif
@@ -638,7 +638,7 @@ PyErr_SetInterrupt()
{
is_tripped++;
Handlers[SIGINT].tripped = 1;
- Py_AddPendingCall((int (*) Py_PROTO((ANY *)))PyErr_CheckSignals, NULL);
+ Py_AddPendingCall((int (*)(ANY *))PyErr_CheckSignals, NULL);
}
void