summaryrefslogtreecommitdiff
path: root/glcpp.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-05-14 10:05:11 -0700
committerCarl Worth <cworth@cworth.org>2010-05-14 11:50:27 -0700
commit610053b2c63fe6bc1d11347dc87e63d958b04dd8 (patch)
treebd93c0dc188aa5326f8de3a7f3b4d2e13d6f7751 /glcpp.h
parent7f9aa36bbcf457e1a221ab6447de3bec30908000 (diff)
Rename list_t and node_t to string_list_t and string_node_t.
We'll soon be adding other types of lists, so it will be helpful to have a qualified name here.
Diffstat (limited to 'glcpp.h')
-rw-r--r--glcpp.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/glcpp.h b/glcpp.h
index 69b3b840ae..cee08faa98 100644
--- a/glcpp.h
+++ b/glcpp.h
@@ -31,15 +31,15 @@
/* Some data types used for parser value. */
-typedef struct node {
+typedef struct string_node {
const char *str;
- struct node *next;
-} node_t;
+ struct string_node *next;
+} string_node_t;
-typedef struct list {
- node_t *head;
- node_t *tail;
-} list_t;
+typedef struct string_list {
+ string_node_t *head;
+ string_node_t *tail;
+} string_list_t;
typedef struct glcpp_parser glcpp_parser_t;