Skip to content

Commit b951eae

Browse files
author
komark06
committed
Correct function parameter to match implementation
This commit ensures that the parameters of the q_free function in 'queue.h' match those in 'queue.c'.
1 parent 34a821c commit b951eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ struct list_head *q_new()
1818
}
1919

2020
/* Free all storage used by queue */
21-
void q_free(struct list_head *l) {}
21+
void q_free(struct list_head *head) {}
2222

2323
/* Insert an element at head of queue */
2424
bool q_insert_head(struct list_head *head, char *s)

0 commit comments

Comments
 (0)