summaryrefslogtreecommitdiffstats
path: root/Modules/signalmodule.c
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-03-28 21:04:14 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-03-28 21:04:14 (GMT)
commit78662cf9a1d2e5b9dbdc294db5536645cba23cef (patch)
tree7b1cff39b0e983be4881024695c6d2b44beec8ab /Modules/signalmodule.c
parent995895f023e6e77e01e345235cc41539200c9669 (diff)
downloadcpython-78662cf9a1d2e5b9dbdc294db5536645cba23cef.zip
cpython-78662cf9a1d2e5b9dbdc294db5536645cba23cef.tar.gz
cpython-78662cf9a1d2e5b9dbdc294db5536645cba23cef.tar.bz2
Add type cast.
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r--Modules/signalmodule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index e4298c6..9255bad 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -279,7 +279,8 @@ static PyMethodDef signal_methods[] = {
{"signal", signal_signal, METH_OLDARGS, signal_doc},
{"getsignal", signal_getsignal, METH_OLDARGS, getsignal_doc},
#ifdef HAVE_PAUSE
- {"pause", signal_pause, METH_NOARGS, pause_doc},
+ {"pause", (PyCFunction)signal_pause,
+ METH_NOARGS,pause_doc},
#endif
{"default_int_handler", signal_default_int_handler,
METH_OLDARGS, default_int_handler_doc},