diff options
author | PikalaxALT <pikalax1@gmail.com> | 2017-10-22 20:43:03 -0400 |
---|---|---|
committer | PikalaxALT <pikalax1@gmail.com> | 2017-10-22 20:43:03 -0400 |
commit | 1ef4dbe691af72bec7fbe2d57f094c335f6de3a3 (patch) | |
tree | 39dee9241a0ccb04047c832776ecbbca76ee9dbc | |
parent | 0dd3db7061165f990f386546304d4d90331d6cd0 (diff) |
Fix global declarations of libc fns
-rw-r--r-- | include/global.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/global.h b/include/global.h index d8547d9c3..8860b4ae3 100644 --- a/include/global.h +++ b/include/global.h @@ -12,8 +12,10 @@ #define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided") #if defined (__APPLE__) || defined (__CYGWIN__) -void memset(void *, int, size_t); -void memcpy(void *, const void *, size_t); +void *memset(void *, int, size_t); +void *memcpy(void *, const void *, size_t); +int strcmp(const char *s1, const char *s2); +char* strcpy(char *dst0, const char *src0); #endif // __APPLE__ #define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0])) |