Fix global declarations of libc fns

This commit is contained in:
PikalaxALT 2017-10-22 20:43:03 -04:00
parent 0dd3db7061
commit 1ef4dbe691

View File

@ -12,8 +12,10 @@
#define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided") #define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided")
#if defined (__APPLE__) || defined (__CYGWIN__) #if defined (__APPLE__) || defined (__CYGWIN__)
void memset(void *, int, size_t); void *memset(void *, int, size_t);
void memcpy(void *, const void *, 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__ #endif // __APPLE__
#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0])) #define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0]))