From 0d98f51e7dbde4a40c0039910d43ad378eaefa83 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 21 Dec 2017 14:03:18 +0100 Subject: Rename sp_node_t to sp_list_node Since we now have sp_list and sp_tree, it makes sense to specify that nodes are only for lists. --- src/sp_config_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp_config_utils.c') diff --git a/src/sp_config_utils.c b/src/sp_config_utils.c index ddd2e05..3c1d89d 100644 --- a/src/sp_config_utils.c +++ b/src/sp_config_utils.c @@ -133,14 +133,14 @@ char *get_param(size_t *consumed, char *restrict line, sp_type type, return NULL; } -zend_always_inline sp_node_t *parse_functions_list(char *value) { +zend_always_inline sp_list_node *parse_functions_list(char *value) { const char *sep = ">"; if (NULL == strchr(value, sep[0])) { return NULL; } - sp_node_t *list = sp_list_new(); + sp_list_node *list = sp_list_new(); char* tmp = strdup(value); char* function_name; char *next_token = tmp; -- cgit v1.3