aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/lib')
-rw-r--r--src/kernel/lib/data.h2
-rw-r--r--src/kernel/lib/data/list.c3
-rw-r--r--src/kernel/lib/data/tree.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/src/kernel/lib/data.h b/src/kernel/lib/data.h
index 356b978..d0eaaf5 100644
--- a/src/kernel/lib/data.h
+++ b/src/kernel/lib/data.h
@@ -91,4 +91,4 @@ void tree2array(struct tree *tree, void **array, int *size);
void tree2array_recur(struct tree_node *subroot, void **array, int *size);
-#endif
+#endif \ No newline at end of file
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