diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-22 19:20:54 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-22 19:20:54 (GMT) |
commit | 23c9e0024af99379ae517b016b874d57127e9a97 (patch) | |
tree | 8b9550548b9af667e20b8aaaae03ac54d38d6f70 /Parser/listnode.c | |
parent | f70ef4f8606f99744252a804229d53a4d97601c1 (diff) | |
download | cpython-23c9e0024af99379ae517b016b874d57127e9a97.zip cpython-23c9e0024af99379ae517b016b874d57127e9a97.tar.gz cpython-23c9e0024af99379ae517b016b874d57127e9a97.tar.bz2 |
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.
Diffstat (limited to 'Parser/listnode.c')
-rw-r--r-- | Parser/listnode.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/Parser/listnode.c b/Parser/listnode.c index c7d5cfa..68f28bf 100644 --- a/Parser/listnode.c +++ b/Parser/listnode.c @@ -19,8 +19,7 @@ static void list1node(FILE *, node *); static void listnode(FILE *, node *); void -PyNode_ListTree(n) - node *n; +PyNode_ListTree(node *n) { listnode(stdout, n); } @@ -28,9 +27,7 @@ PyNode_ListTree(n) static int level, atbol; static void -listnode(fp, n) - FILE *fp; - node *n; +listnode(FILE *fp, node *n) { level = 0; atbol = 1; @@ -38,9 +35,7 @@ listnode(fp, n) } static void -list1node(fp, n) - FILE *fp; - node *n; +list1node(FILE *fp, node *n) { if (n == 0) return; |