Mass ANSIfication.
Work around intrcheck.c's desire to pass 'PyErr_CheckSignals' to
'Py_AddPendingCall' by providing a (static) wrapper function that has the
right number of arguments.
diff --git a/Parser/node.c b/Parser/node.c
index 3a710ef..910192d 100644
--- a/Parser/node.c
+++ b/Parser/node.c
@@ -17,8 +17,7 @@
#include "errcode.h"
node *
-PyNode_New(type)
- int type;
+PyNode_New(int type)
{
node *n = PyMem_NEW(node, 1);
if (n == NULL)
@@ -35,11 +34,7 @@
#define XXXROUNDUP(n) ((n) == 1 ? 1 : ((n) + XXX - 1) / XXX * XXX)
int
-PyNode_AddChild(n1, type, str, lineno)
- register node *n1;
- int type;
- char *str;
- int lineno;
+PyNode_AddChild(register node *n1, int type, char *str, int lineno)
{
register int nch = n1->n_nchildren;
register int nch1 = nch+1;
@@ -68,8 +63,7 @@
void
-PyNode_Free(n)
- node *n;
+PyNode_Free(node *n)
{
if (n != NULL) {
freechildren(n);
@@ -78,8 +72,7 @@
}
static void
-freechildren(n)
- node *n;
+freechildren(node *n)
{
int i;
for (i = NCH(n); --i >= 0; )