summaryrefslogtreecommitdiff
path: root/src/kernel/util.h
diff options
context:
space:
mode:
authordzwdz2021-11-14 17:46:20 +0100
committerdzwdz2021-11-14 17:46:20 +0100
commit7acf810e81491b08410df1b7bb886bd11b44cd98 (patch)
treed05378fea8e7e11a6db90369c165988752a18557 /src/kernel/util.h
parent714b3dce9016f699f8842d792075555077fd4d31 (diff)
shared: use a single implementation of mem* functions everywhere
Diffstat (limited to 'src/kernel/util.h')
-rw-r--r--src/kernel/util.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/kernel/util.h b/src/kernel/util.h
index 839aa49..9b8cb3d 100644
--- a/src/kernel/util.h
+++ b/src/kernel/util.h
@@ -4,11 +4,6 @@
#define __NUM2STR(x) #x
#define NUM2STR(x) __NUM2STR(x)
-void *memcpy(void *dest, const void *src, size_t n);
-void *memset(void *s, int c, size_t n);
-
-int memcmp(const void *s1, const void *s2, size_t n);
-
// see https://gcc.gnu.org/onlinedocs/gcc/Typeof.html
#define min(a,b) ({ \
typeof (a) _a = (a); \