From 8b328b3e348ac67628d72d7cbba242860bc04d07 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Thu, 13 Apr 2023 16:07:22 +0200 Subject: [PATCH] created why2_list_t typedef --- include/llist.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/llist.h b/include/llist.h index 56454b8..3af16e1 100644 --- a/include/llist.h +++ b/include/llist.h @@ -25,6 +25,8 @@ typedef struct _why2_node struct _why2_node *next; } why2_node_t; //SINGLE LINKED LIST +typedef why2_node_t why2_list_t; //just to make the code make sense + void why2_list_push(why2_node_t *llist_head, void *value); //PUSH ELEMENT TO LIST BACK void why2_list_remove(why2_node_t *llist_head, why2_node_t *node); //REMOVE ELEMENT void why2_list_remove_back(why2_node_t *llist_head); //REMOVE LAST ELEMENT