projects
/
coreboot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
This patch masks the function prototypes in stdlib.h from ROMCC, so that
[coreboot.git]
/
src
/
include
/
stdlib.h
1
#ifndef STDLIB_H
2
#define STDLIB_H
3
4
#include <stddef.h>
5
6
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
7
8
#ifndef __ROMCC__
9
extern void *malloc(size_t size);
10
void free(void *ptr);
11
12
/* Extensions to malloc... */
13
typedef size_t malloc_mark_t;
14
void malloc_mark(malloc_mark_t *place);
15
void malloc_release(malloc_mark_t *place);
16
#endif
17
18
#endif /* STDLIB_H */