summaryrefslogtreecommitdiff
path: root/src/sp_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_list.c')
-rw-r--r--src/sp_list.c4
1 files changed, 2 insertions, 2 deletions
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) {
11 } 11 }
12} 12}
13 13
14sp_node_t *sp_new_list() { 14sp_node_t *sp_list_new() {
15 sp_node_t *new = pecalloc(sizeof(*new), 1, 1); 15 sp_node_t *new = pecalloc(sizeof(*new), 1, 1);
16 new->next = new->data = new->head = NULL; 16 new->next = new->data = new->head = NULL;
17 return new; 17 return new;
@@ -52,4 +52,4 @@ void sp_list_prepend(sp_node_t *list, void *data) {
52 new->data = list->data; 52 new->data = list->data;
53 list->data = data; 53 list->data = data;
54 } 54 }
55} \ No newline at end of file 55}