summaryrefslogtreecommitdiff
path: root/kernel/util.c
diff options
context:
space:
mode:
authordzwdz2021-07-10 16:37:45 +0200
committerdzwdz2021-07-10 16:37:45 +0200
commitd093a8eea6bfb0ff7e621e9ba3307dae698322aa (patch)
tree08a5272e2813cf8db8feda4ff91d919cb9ad7330 /kernel/util.c
parent1faac72e2514c335e2d5721dce8c9fd1da722062 (diff)
separate the source code from object files; more modular Makefile
Diffstat (limited to 'kernel/util.c')
-rw-r--r--kernel/util.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/kernel/util.c b/kernel/util.c
deleted file mode 100644
index da3ac9d..0000000
--- a/kernel/util.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include <kernel/util.h>
-#include <stdint.h>
-
-void *memset(void *s, int c, size_t n) {
- uint8_t *s2 = s;
- for (size_t i = 0; i < n; n++)
- s2[i] = c;
- return s;
-}