summaryrefslogtreecommitdiff
path: root/AK/kmalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/kmalloc.h')
-rw-r--r--AK/kmalloc.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/AK/kmalloc.h b/AK/kmalloc.h
index c28dddcae4..3c8102c0fd 100644
--- a/AK/kmalloc.h
+++ b/AK/kmalloc.h
@@ -11,7 +11,6 @@ private:
#define AK_MAKE_ETERNAL
#endif
-#ifdef SERENITY
#ifdef KERNEL
#include <Kernel/kmalloc.h>
#else
@@ -30,20 +29,3 @@ void* kmalloc_eternal(size_t) MALLOC_ATTR;
inline void* operator new(size_t, void* p) { return p; }
inline void* operator new[](size_t, void* p) { return p; }
#endif
-#else
-#include <new>
-
-#include "Types.h"
-
-extern "C" {
-
-void* kcalloc(size_t nmemb, size_t size);
-void* kmalloc(size_t size) MALLOC_ATTR;
-void kfree(void* ptr);
-void* krealloc(void* ptr, size_t size);
-void* kmalloc_eternal(size_t) MALLOC_ATTR;
-
-}
-
-#endif
-