aboutsummaryrefslogtreecommitdiff
path: root/src/common/libc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/libc')
-rw-r--r--src/common/libc/printf.c3
-rw-r--r--src/common/libc/string.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/common/libc/printf.c b/src/common/libc/printf.c
index 8618741..d1671c3 100644
--- a/src/common/libc/printf.c
+++ b/src/common/libc/printf.c
@@ -1,6 +1,7 @@
-#include <printf.h>
#include <stdarg.h>
+#include <kogata/printf.h>
+
int snprintf(char * buff, size_t len, const char *format, ...) {
va_list ap;
diff --git a/src/common/libc/string.c b/src/common/libc/string.c
index 90cea34..e1ed21e 100644
--- a/src/common/libc/string.c
+++ b/src/common/libc/string.c
@@ -1,6 +1,6 @@
#include <string.h>
-#include <malloc.h>
+#include <kogata/malloc.h>
size_t strlen(const char* str) {
size_t ret = 0;