summaryrefslogtreecommitdiff
path: root/include/gba
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-11-03 21:56:18 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-11-03 21:56:18 -0400
commitf8486b31c531dd9622e748e1382ab9e4b8a5fc5c (patch)
tree2b7c1256e2dac078a817cf56ff79e43cabd572df /include/gba
parentca2bc94c2be5d7b915e5ab913ef026aa12b8fc0f (diff)
sub_80E6CA0
Diffstat (limited to 'include/gba')
-rw-r--r--include/gba/gba.h1
-rw-r--r--include/gba/libc.h10
2 files changed, 11 insertions, 0 deletions
diff --git a/include/gba/gba.h b/include/gba/gba.h
index 42ae3cdde..19b65dbca 100644
--- a/include/gba/gba.h
+++ b/include/gba/gba.h
@@ -7,5 +7,6 @@
#include "gba/multiboot.h"
#include "gba/syscall.h"
#include "gba/macro.h"
+#include "gba/libc.h"
#endif // GUARD_GBA_GBA_H
diff --git a/include/gba/libc.h b/include/gba/libc.h
new file mode 100644
index 000000000..9ed82ac28
--- /dev/null
+++ b/include/gba/libc.h
@@ -0,0 +1,10 @@
+#ifndef GUARD_LIBC_H
+#define GUARD_LIBC_H
+
+void *memset(void *dst, int val, size_t size);
+void *memcpy(void *dst, const void *src, size_t size);
+int strcmp(const char *s1, const char *s2);
+char *strcpy(char *dst0, const char *src0);
+#define abs(x) ((x) >= 0 ? (x) : -(x))
+
+#endif //GUARD_LIBC_H