From 0e63b410facd080f764885b530ebd6f84a701dc0 Mon Sep 17 00:00:00 2001 From: Soikk Date: Sun, 30 Jan 2022 02:58:53 +0100 Subject: [PATCH] Sorry, fixed append --- llist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llist.h b/llist.h index b37e72b..cdef2cd 100644 --- a/llist.h +++ b/llist.h @@ -26,7 +26,7 @@ llist Llist(char *name, node *head){ return nllist; } -void append(llist l, node *n){ +void append(llist *l, node *n){ if(l->head != NULL){ node *temp = l->head; while(temp->next != NULL)