drop some dead code, clarify small comments and small cleanups to malloc.c
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4677 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
0a181fd642
commit
6bd571e060
@ -12,13 +12,8 @@
|
||||
#define MAX(a,b) ((a) > (b) ? (a) : (b))
|
||||
|
||||
#ifndef __ROMCC__
|
||||
extern void *malloc(size_t size);
|
||||
void *malloc(size_t size);
|
||||
void free(void *ptr);
|
||||
|
||||
/* Extensions to malloc... */
|
||||
typedef size_t malloc_mark_t;
|
||||
void malloc_mark(malloc_mark_t *place);
|
||||
void malloc_release(malloc_mark_t *place);
|
||||
#endif
|
||||
|
||||
#endif /* STDLIB_H */
|
||||
|
Reference in New Issue
Block a user