From 7acf810e81491b08410df1b7bb886bd11b44cd98 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 14 Nov 2021 17:46:20 +0100 Subject: shared: use a single implementation of mem* functions everywhere --- src/init/stdlib.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/init/stdlib.h') diff --git a/src/init/stdlib.h b/src/init/stdlib.h index 5049a23..af0788b 100644 --- a/src/init/stdlib.h +++ b/src/init/stdlib.h @@ -1,11 +1,9 @@ #pragma once +#include #include extern int __tty_fd; -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); int strcmp(const char *s1, const char *s2); size_t strlen(const char *s); int printf(const char *fmt, ...); -- cgit v1.2.3