summaryrefslogtreecommitdiff
path: root/zwgc/node.h
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@mit.edu>2008-01-21 03:11:44 +0000
committerGravatar Karl Ramm <kcr@mit.edu>2008-01-21 03:11:44 +0000
commitb6ea75cfc9712b77a0886c4348d6fb519641e40e (patch)
tree65f68bb2db7c6118e80670cd5edc297159f43409 /zwgc/node.h
parent71f70d3066d1c038e1794c4ffe804591eda3d1af (diff)
de K&Rify, fix prototypes
Diffstat (limited to 'zwgc/node.h')
-rw-r--r--zwgc/node.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/zwgc/node.h b/zwgc/node.h
index 4fdf678..556719b 100644
--- a/zwgc/node.h
+++ b/zwgc/node.h
@@ -100,13 +100,13 @@ typedef struct _Node {
/* Function externs */
-extern void node_DestroyAllNodes();
+extern void node_DestroyAllNodes(void);
-extern Node *node_create_string_constant();
+extern Node *node_create_string_constant(int, string);
-extern Node *node_create_noary();
-extern Node *node_create_unary();
-extern Node *node_create_binary();
+extern Node *node_create_noary(int);
+extern Node *node_create_unary(int, Node *);
+extern Node *node_create_binary(int, Node *, Node *);
/*
* Node *reverse_list_of_nodes(Node *list)
@@ -117,10 +117,10 @@ extern Node *node_create_binary();
* the address of the (previously) last node.
*/
-extern Node *reverse_list_of_nodes();
+extern Node *reverse_list_of_nodes(Node *);
#ifdef DEBUG
-extern void node_display();
+extern void node_display(Node *);
#endif
#endif