We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 841ea54 commit b03f072Copy full SHA for b03f072
linkedlist.h
@@ -36,7 +36,7 @@ struct LinkedList
36
extern void initializeLinkedList(
37
struct LinkedList* list);
38
39
-#define EMPTY_LINKED_LIST {NULL, NULL, 0}
+#define EMPTY_LINKED_LIST {.head = NULL, .tail = NULL, .size = 0}
40
41
/* Add new LinkedListNode to the tail of the list with specified data */
42
extern void addToLinkedList(
0 commit comments