diff options
author | dzwdz | 2021-07-10 16:37:45 +0200 |
---|---|---|
committer | dzwdz | 2021-07-10 16:37:45 +0200 |
commit | d093a8eea6bfb0ff7e621e9ba3307dae698322aa (patch) | |
tree | 08a5272e2813cf8db8feda4ff91d919cb9ad7330 /kernel/util.c | |
parent | 1faac72e2514c335e2d5721dce8c9fd1da722062 (diff) |
separate the source code from object files; more modular Makefile
Diffstat (limited to 'kernel/util.c')
-rw-r--r-- | kernel/util.c | 9 |
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; -} |