From fd035c0a3d361e513fe7916b67e14ff702983153 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Sat, 4 Feb 2017 17:45:17 +0100 Subject: Clean up compilation Instead of mixing standard headers and internal redefinitions of standard types, completely rely on the compiler for what is guaranteed for a free standing environment. This results in the removal of kern/stddef.h and kern/stdint.h. The kern/types.h header is reintroduced for the different (and saner) purpose of defining types not specified in standard C, namely ssize_t for now. --- kern/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/string.h') diff --git a/kern/string.h b/kern/string.h index 238d0e73..7ce4ab8f 100644 --- a/kern/string.h +++ b/kern/string.h @@ -18,7 +18,7 @@ #ifndef _KERN_STRING_H #define _KERN_STRING_H -#include +#include void * memcpy(void *dest, const void *src, size_t n); void * memmove(void *dest, const void *src, size_t n); -- cgit v1.2.3