summaryrefslogtreecommitdiff
path: root/Kernel/StdLib.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-12-02 23:34:50 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-12-02 23:34:50 +0100
commit85b886c2e0dcffaccc28c6494c32034c83f73ef8 (patch)
tree0abbe3905f6cce8ff3af7b687922bf2b1974beae /Kernel/StdLib.h
parent44036f32bc8146b566b793cdc6d58c3370a3ee0f (diff)
downloadserenity-85b886c2e0dcffaccc28c6494c32034c83f73ef8.zip
Make it possible to build the Kernel on a macOS host.
It still requires an ELF compiler and linker, but at least it builds. I need to get rid of the "Unix" namespace. This does a lot of that.
Diffstat (limited to 'Kernel/StdLib.h')
-rw-r--r--Kernel/StdLib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/StdLib.h b/Kernel/StdLib.h
index af95546aeb..d93bfae7d0 100644
--- a/Kernel/StdLib.h
+++ b/Kernel/StdLib.h
@@ -7,7 +7,7 @@ extern "C" {
void memcpy(void*, const void*, dword);
void strcpy(char*, const char*);
int strcmp(char const*, const char*);
-dword strlen(const char*);
+size_t strlen(const char*);
void *memset(void*, byte, dword);
char *strdup(const char*);
int memcmp(const void*, const void*, size_t);