fix linked-list + indent
This commit is contained in:
parent
cb4baa4479
commit
91611b08ec
1 changed files with 6 additions and 6 deletions
|
@ -52,7 +52,7 @@ void list_add(list_node_t *list, list_node_t *item) {
|
|||
void list_remove(list_node_t * list, list_node_t * item) {
|
||||
list_node_t *cur;
|
||||
|
||||
cur = list,
|
||||
cur = list;
|
||||
assert(cur != NULL);
|
||||
|
||||
while (cur->next != NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue