data_structures

data structures in C
Log | Files | Refs | Feed

commit f623fe3e6d8a6e2ad15193e65a177f145e74ee1b
parent bd1ccd3360c4a571ad80942cfdd1a757402a7d41
Author: Jenny Doe <tng@soykaf.me>
Date:   Fri, 22 Mar 2019 00:27:01 +0100

fixed: placeholder removed

Diffstat:
Mclist.c | 2+-
Mdlist.c | 2+-
Mlist.c | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/clist.c b/clist.c @@ -8,7 +8,7 @@ void clist_init(cList * list, void (*destroy)(void *)) { - list->destroy = NULL; + list->destroy = destroy; list->size = 0; list->head = NULL; diff --git a/dlist.c b/dlist.c @@ -8,7 +8,7 @@ void dlist_init(dList * list, void (*destroy) (void *)) { - list->destroy = NULL; + list->destroy = destroy; list->size = 0; list->head = NULL; list->tail = NULL; diff --git a/list.c b/list.c @@ -8,7 +8,7 @@ void list_init(List * list, void (*destroy)(void *)) { - list->destroy = NULL; + list->destroy = destroy; list->size = 0; list->head = NULL; list->tail = NULL;