summaryrefslogtreecommitdiffstats
path: root/src/include/stdlib.h
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-09-25 21:59:57 +0000
committerStefan Reinauer <stepan@openbios.org>2009-09-25 21:59:57 +0000
commit6bd571e060d65257c9a7ba0f87c991dbdac0b582 (patch)
tree34fd5def5a7b6dd586004fdd0b8a92e40336182c /src/include/stdlib.h
parent0a181fd642d0c0780b4b88654d732cf625d1c862 (diff)
downloadcoreboot-6bd571e060d65257c9a7ba0f87c991dbdac0b582.tar.gz
coreboot-6bd571e060d65257c9a7ba0f87c991dbdac0b582.tar.bz2
coreboot-6bd571e060d65257c9a7ba0f87c991dbdac0b582.zip
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
Diffstat (limited to 'src/include/stdlib.h')
-rw-r--r--src/include/stdlib.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/include/stdlib.h b/src/include/stdlib.h
index c3052bd20900..63a316f18667 100644
--- a/src/include/stdlib.h
+++ b/src/include/stdlib.h
@@ -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 */