rockbox/firmware/include/malloc.h
Daniel Stenberg 7da93d58fd This is my initial attempt to get rid of the newlib headers requirement,
for gcc built without newlib.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1017 a1c6a512-1295-4272-9138-f99709370657
2002-06-15 15:49:32 +00:00

26 lines
463 B
C

/* malloc.h -- header file for memory routines. */
#ifndef _INCLUDE_MALLOC_H_
#define _INCLUDE_MALLOC_H_
#include <_ansi.h>
#define __need_size_t
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
/* The routines. */
extern _PTR malloc _PARAMS ((size_t));
extern _VOID free _PARAMS ((_PTR));
extern _PTR realloc _PARAMS ((_PTR, size_t));
extern _PTR calloc _PARAMS ((size_t, size_t));
#ifdef __cplusplus
}
#endif
#endif /* _INCLUDE_MALLOC_H_ */