diff options
author | Carl Worth <cworth@cworth.org> | 2010-05-14 10:05:11 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-05-14 11:50:27 -0700 |
commit | 610053b2c63fe6bc1d11347dc87e63d958b04dd8 (patch) | |
tree | bd93c0dc188aa5326f8de3a7f3b4d2e13d6f7751 /glcpp.h | |
parent | 7f9aa36bbcf457e1a221ab6447de3bec30908000 (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.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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; |