created why2_list_t typedef
This commit is contained in:
parent
b4cccf6d45
commit
8b328b3e34
@ -25,6 +25,8 @@ typedef struct _why2_node
|
|||||||
struct _why2_node *next;
|
struct _why2_node *next;
|
||||||
} why2_node_t; //SINGLE LINKED LIST
|
} 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_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(why2_node_t *llist_head, why2_node_t *node); //REMOVE ELEMENT
|
||||||
void why2_list_remove_back(why2_node_t *llist_head); //REMOVE LAST ELEMENT
|
void why2_list_remove_back(why2_node_t *llist_head); //REMOVE LAST ELEMENT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user