aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2024-10-13 05:29:31 +0100
committerBlake Romero <blake@blkrom.com>2024-10-30 10:13:26 +0000
commit7b252a2f0f1c5ac50bf605ed7b7cb31b81f78de9 (patch)
treedbdce75be8646040f41a188d56cd96bd9be2107b
parent50bb99d2adbe4d1efdaa800e06f2e0e8009562da (diff)
Move TODO comment
-rw-r--r--src/ll.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ll.c b/src/ll.c
index 8e2d078..ef5e021 100644
--- a/src/ll.c
+++ b/src/ll.c
@@ -1,4 +1,8 @@
// Implementation of a Linked List
+//
+// TODO: recursive implementation for llfree
+//
+
#include <stdio.h>
#include <stdlib.h>
#include "ll.h"
@@ -79,9 +83,6 @@ void llfree(Node** head) {
*head = NULL;
}
-// TODO: llfree recursive implementation
-// ...
-
int llrmlast(Node** head) {
Node* n = *head;
Node* cur = NULL;