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.
This commit is contained in:
Carl Worth
2010-05-14 10:05:11 -07:00
parent 7f9aa36bbc
commit 610053b2c6
2 changed files with 71 additions and 71 deletions
+7 -7
View File
@@ -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;