aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/lib/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/lib/data')
-rw-r--r--src/kernel/lib/data/list.c3
-rw-r--r--src/kernel/lib/data/tree.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/kernel/lib/data/list.c b/src/kernel/lib/data/list.c
index 3346e32..788b4ab 100644
--- a/src/kernel/lib/data/list.c
+++ b/src/kernel/lib/data/list.c
@@ -132,7 +132,6 @@ void *list_peek_back(struct list *list)
return list->tail->val;
}
-
int list_contain(struct list *list, void *val)
{
int idx = 0;
@@ -222,4 +221,4 @@ char *list_to_str(struct list *list, const char *delim)
strcat(ret, temp);
}
return ret;
-}
+} \ No newline at end of file
diff --git a/src/kernel/lib/data/tree.c b/src/kernel/lib/data/tree.c
index 53233a4..514e2cd 100644
--- a/src/kernel/lib/data/tree.c
+++ b/src/kernel/lib/data/tree.c
@@ -100,4 +100,4 @@ void tree2array_recur(struct tree_node *subroot, void **array, int *size)
{
tree2array_recur(child->val, array, size);
}
-}
+} \ No newline at end of file