created why2_list_t typedef

This commit is contained in:
Václav Šmejkal 2023-04-13 16:07:22 +02:00
parent b4cccf6d45
commit 8b328b3e34
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -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