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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user