aboutsummaryrefslogtreecommitdiff
path: root/interpreter/graphs.h
diff options
context:
space:
mode:
authorCamil Staps2016-09-25 00:05:07 +0200
committerCamil Staps2016-09-25 00:05:07 +0200
commit1cd75335f0878864acb89d9a2818a971701ef680 (patch)
tree349382d6882cf239461d518ff78f2c8a81e73569 /interpreter/graphs.h
parentMade parse_file implementation dependent (diff)
Cleanup: unsigned -> bool (stdbool.h)
Diffstat (limited to 'interpreter/graphs.h')
-rw-r--r--interpreter/graphs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/interpreter/graphs.h b/interpreter/graphs.h
index 0cebe9e..a577095 100644
--- a/interpreter/graphs.h
+++ b/interpreter/graphs.h
@@ -1,6 +1,7 @@
#ifndef _H_GRAPHS
#define _H_GRAPHS
+#include <stdbool.h>
#include "syntax.h"
typedef enum {
@@ -22,7 +23,7 @@ struct node {
};
void use_node(struct node* node, unsigned int count);
-void free_node(struct node* node, unsigned int count, unsigned free_first);
+void free_node(struct node* node, unsigned int count, bool free_first);
void remove_redirects(struct node *node);