mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2024-12-28 04:23:38 +01:00
stdlib: safeguard prototypes against user-defined macros
This commit is contained in:
parent
36b4854137
commit
e4c385d0df
1 changed files with 5 additions and 5 deletions
|
@ -7,25 +7,25 @@
|
|||
/* Dynamic memory management. */
|
||||
|
||||
/* Allocate SIZE bytes of memory. */
|
||||
extern void *malloc(size_t size);
|
||||
extern void *malloc(size_t __size);
|
||||
|
||||
/* Allocate NMEMB elements of SIZE bytes each, all initialized to 0. */
|
||||
extern void *calloc(size_t nmemb, size_t size);
|
||||
extern void *calloc(size_t __nmemb, size_t __size);
|
||||
|
||||
/*
|
||||
** Re-allocate the previously allocated block in PTR, making the new block
|
||||
** SIZE bytes long.
|
||||
*/
|
||||
extern void *realloc(void *ptr, size_t size);
|
||||
extern void *realloc(void *__ptr, size_t __size);
|
||||
|
||||
/*
|
||||
** Re-allocate the previously allocated block in PTR, making the new block large
|
||||
** enough for NMEMB elements of SIZE bytes each.
|
||||
*/
|
||||
extern void *reallocarray(void *ptr, size_t nmemb, size_t size);
|
||||
extern void *reallocarray(void *__ptr, size_t __nmemb, size_t __size);
|
||||
|
||||
/* Free a block allocated by `malloc', `realloc' or `calloc'. */
|
||||
extern void free(void *ptr);
|
||||
extern void free(void *__ptr);
|
||||
|
||||
/* Integer arithmetic functions. */
|
||||
|
||||
|
|
Loading…
Reference in a new issue