ANSI-fication
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index cfbfe20..47151eb 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -97,9 +97,7 @@
static PyObject *
-signal_default_int_handler(self, arg)
- PyObject *self;
- PyObject *arg;
+signal_default_int_handler(PyObject *self, PyObject *args)
{
PyErr_SetNone(PyExc_KeyboardInterrupt);
return NULL;
@@ -113,8 +111,7 @@
static RETSIGTYPE
-signal_handler(sig_num)
- int sig_num;
+signal_handler(int sig_num)
{
#ifdef WITH_THREAD
/* See NOTES section above */
@@ -146,9 +143,7 @@
#ifdef HAVE_ALARM
static PyObject *
-signal_alarm(self, args)
- PyObject *self; /* Not used */
- PyObject *args;
+signal_alarm(PyObject *self, PyObject *args)
{
int t;
if (!PyArg_Parse(args, "i", &t))
@@ -165,9 +160,7 @@
#ifdef HAVE_PAUSE
static PyObject *
-signal_pause(self, args)
- PyObject *self; /* Not used */
- PyObject *args;
+signal_pause(PyObject *self, PyObject *args)
{
if (!PyArg_NoArgs(args))
return NULL;
@@ -193,9 +186,7 @@
static PyObject *
-signal_signal(self, args)
- PyObject *self; /* Not used */
- PyObject *args;
+signal_signal(PyObject *self, PyObject *args)
{
PyObject *obj;
int sig_num;
@@ -253,9 +244,7 @@
static PyObject *
-signal_getsignal(self, args)
- PyObject *self; /* Not used */
- PyObject *args;
+signal_getsignal(PyObject *self, PyObject *args)
{
int sig_num;
PyObject *old_handler;
diff --git a/Modules/timingmodule.c b/Modules/timingmodule.c
index bbccb43..f7323bb 100644
--- a/Modules/timingmodule.c
+++ b/Modules/timingmodule.c
@@ -8,9 +8,7 @@
#include "timing.h"
static PyObject *
-start_timing(self, args)
- PyObject *self;
- PyObject *args;
+start_timing(PyObject *self, PyObject *args)
{
if (!PyArg_Parse(args, ""))
return NULL;
@@ -21,9 +19,7 @@
}
static PyObject *
-finish_timing(self, args)
- PyObject *self;
- PyObject *args;
+finish_timing(PyObject *self, PyObject *args)
{
if (!PyArg_Parse(args, ""))
return NULL;
@@ -34,9 +30,7 @@
}
static PyObject *
-seconds(self, args)
- PyObject *self;
- PyObject *args;
+seconds(PyObject *self, PyObject *args)
{
if (!PyArg_Parse(args, ""))
return NULL;
@@ -46,9 +40,7 @@
}
static PyObject *
-milli(self, args)
- PyObject *self;
- PyObject *args;
+milli(PyObject *self, PyObject *args)
{
if (!PyArg_Parse(args, ""))
return NULL;
@@ -57,9 +49,7 @@
}
static PyObject *
-micro(self, args)
- PyObject *self;
- PyObject *args;
+micro(PyObject *self, PyObject *args)
{
if (!PyArg_Parse(args, ""))
return NULL;