aboutsummaryrefslogtreecommitdiff
path: root/src/common/libc
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2016-07-15 23:12:14 +0200
committerAlex Auvolat <alex@adnab.me>2016-07-15 23:12:14 +0200
commit32407e728971006ed3d0885e01c22fb66c8adc57 (patch)
tree89483d39e8e2638383f815d4e73b647334fe2fe9 /src/common/libc
parentba4e59a1d687173ac5cfa74d26d71d6059dc6bc6 (diff)
downloadkogata-32407e728971006ed3d0885e01c22fb66c8adc57.tar.gz
kogata-32407e728971006ed3d0885e01c22fb66c8adc57.zip
Move stuff around, again
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;