aboutsummaryrefslogtreecommitdiff
path: root/kernel/include/libk
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/libk')
-rw-r--r--kernel/include/libk/liballoc.h5
-rw-r--r--kernel/include/libk/stdio.h8
-rw-r--r--kernel/include/libk/string.h8
3 files changed, 0 insertions, 21 deletions
diff --git a/kernel/include/libk/liballoc.h b/kernel/include/libk/liballoc.h
index b1568e9..82186c4 100644
--- a/kernel/include/libk/liballoc.h
+++ b/kernel/include/libk/liballoc.h
@@ -21,9 +21,6 @@
#include <stddef.h>
-namespace LibAlloc
-{
-
/** This is a boundary tag which is prepended to the
* page or section of a page which we have allocated. It is
* used to identify valid memory blocks that the
@@ -47,6 +44,4 @@ void *krealloc(void *, size_t);
void *kcalloc(size_t, size_t);
void kfree(void *);
-}
-
#endif
diff --git a/kernel/include/libk/stdio.h b/kernel/include/libk/stdio.h
index 44050dd..f944fe4 100644
--- a/kernel/include/libk/stdio.h
+++ b/kernel/include/libk/stdio.h
@@ -22,10 +22,6 @@
#include <stdarg.h>
#include <stddef.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
typedef int (*_printf_engine_output_func)(const char *str,
size_t len,
void *state);
@@ -43,8 +39,4 @@ int vsnprintf(char *str, size_t len, const char *fmt, va_list ap);
void printk(const char *from, const char *msg, ...);
void printk_raw(const char *msg, ...);
-#ifdef __cplusplus
-}
-#endif
-
#endif
diff --git a/kernel/include/libk/string.h b/kernel/include/libk/string.h
index 8ea5b92..88b9888 100644
--- a/kernel/include/libk/string.h
+++ b/kernel/include/libk/string.h
@@ -21,15 +21,7 @@
#include <stddef.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
size_t strlen(const char *str);
void *memset(void *s, int c, size_t n);
-#ifdef __cplusplus
-}
-#endif
-
#endif