From 59b3db273e6e628afb188681e178ea53d571b03d Mon Sep 17 00:00:00 2001 From: Ben Foster Date: Wed, 25 Oct 2017 22:25:30 +0100 Subject: Renames `sp_new_list` -> `sp_list_new` To be consistent with the rest of the `sp_list` functions. --- src/sp_list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp_list.c') diff --git a/src/sp_list.c b/src/sp_list.c index 112d822..c671f51 100644 --- a/src/sp_list.c +++ b/src/sp_list.c @@ -11,7 +11,7 @@ void sp_list_free(sp_node_t *node) { } } -sp_node_t *sp_new_list() { +sp_node_t *sp_list_new() { sp_node_t *new = pecalloc(sizeof(*new), 1, 1); new->next = new->data = new->head = NULL; return new; @@ -52,4 +52,4 @@ void sp_list_prepend(sp_node_t *list, void *data) { new->data = list->data; list->data = data; } -} \ No newline at end of file +} -- cgit v1.3