forked from len0rd/rockbox
added protos and fixed to make them work as proper newlib replacement
headers git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1034 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d2e0214738
commit
f7b10a3747
2 changed files with 11 additions and 6 deletions
|
@ -29,6 +29,13 @@ extern __IMPORT int __mb_cur_max;
|
|||
|
||||
_VOID _EXFUN(qsort,(_PTR __base, size_t __nmemb, size_t __size, int(*_compar)(const _PTR, const _PTR)));
|
||||
|
||||
void *malloc(size_t);
|
||||
void *calloc (size_t nmemb, size_t size);
|
||||
void free(void *);
|
||||
void *realloc(void *, size_t);
|
||||
|
||||
#define abs(x) ((x)>0?x:-x)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue