summaryrefslogtreecommitdiff
path: root/zwgc/node.h
diff options
context:
space:
mode:
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