summaryrefslogtreecommitdiff
path: root/include/kernel/data
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2024-05-27 13:53:52 -0500
committerDanny Holman <dholman@gymli.org>2024-05-27 13:53:52 -0500
commitaaf7355c5ededfcdc877c7f2989fb1ba02dfb848 (patch)
tree0c4588650fe1fc1fa1af2972353a2bc920cf1e68 /include/kernel/data
parentkernel: sched: add a flag that is set on init (diff)
downloadbox-aaf7355c5ededfcdc877c7f2989fb1ba02dfb848.tar.gz
box-aaf7355c5ededfcdc877c7f2989fb1ba02dfb848.tar.zst
box-aaf7355c5ededfcdc877c7f2989fb1ba02dfb848.zip
libk: create a subset libc for kernel use
Create a subset of the C library for use inside the kernel. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to '')
-rw-r--r--include/libk/data/list.h (renamed from include/kernel/data/list.h)4
-rw-r--r--include/libk/data/ringbuf.h (renamed from include/kernel/data/ringbuf.h)4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/kernel/data/list.h b/include/libk/data/list.h
index b61cfaa..69eee3a 100644
--- a/include/kernel/data/list.h
+++ b/include/libk/data/list.h
@@ -1,5 +1,5 @@
-#ifndef KERNEL_LIST_H
-#define KERNEL_LIST_H
+#ifndef LIBK_LIST_H
+#define LIBK_LIST_H
#include <stddef.h>
diff --git a/include/kernel/data/ringbuf.h b/include/libk/data/ringbuf.h
index 25a7125..cc6d77b 100644
--- a/include/kernel/data/ringbuf.h
+++ b/include/libk/data/ringbuf.h
@@ -1,5 +1,5 @@
-#ifndef KERNEL_RINGBUF_H
-#define KERNEL_RINGBUF_H
+#ifndef LIBK_RINGBUF_H
+#define LIBK_RINGBUF_H
#include <kernel/kmalloc.h>
#include <kernel/string.h>