mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 06:54:14 -04:00
01a1b113b4
* libultra/libc cleanup * Format * Correct prototype for strchr * Different prototypes for bzero, bcmp, bcopy under __GNUC__ to match builtin prototypes * Correct alloca prototype
19 lines
462 B
C
19 lines
462 B
C
#ifndef PR_OS_LIBC_H
|
|
#define PR_OS_LIBC_H
|
|
|
|
#include "stdarg.h"
|
|
|
|
#ifdef __GNUC__
|
|
void bzero(void* begin, unsigned int length);
|
|
int bcmp(const void* __s1, const void* __s2, unsigned int __n);
|
|
void bcopy(const void* __src, void* __dest, unsigned int __n);
|
|
#else
|
|
void bzero(void* begin, int length);
|
|
int bcmp(const void* __s1, const void* __s2, int __n);
|
|
void bcopy(const void* __src, void* __dest, int __n);
|
|
#endif
|
|
|
|
void osSyncPrintf(const char* fmt, ...);
|
|
|
|
#endif
|