diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-09 04:24:58 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-09 04:24:58 +0000 |
commit | c0b41a5aea6d4533277523ba63e0f996c64e44d8 (patch) | |
tree | e3e242206adedef77e2f775d9602f65a14cda8bf /include | |
parent | 42010194d04d05f1dea6a30579941ed2ee0273f4 (diff) |
Removed old noise.
-Erik
Diffstat (limited to 'include')
-rw-r--r-- | include/malloc.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/malloc.h b/include/malloc.h index e8fdb0a24..c35ffe459 100644 --- a/include/malloc.h +++ b/include/malloc.h @@ -4,14 +4,6 @@ #include <features.h> #include <sys/types.h> -/* - * Mini malloc allows you to use a less efficient but smaller malloc the - * cost is about 100 bytes of code in free but malloc (700bytes) doesn't - * have to be linked. Unfortunatly memory can only be reused if everything - * above it has been freed - * - */ - extern void free __P((void *)); extern void *malloc __P((size_t)); extern void *realloc __P((void *, size_t)); @@ -19,12 +11,4 @@ extern void *alloca __P((size_t)); extern void *(*__alloca_alloc) __P((size_t)); -#ifdef __LIBC__ -#define __MINI_MALLOC__ -#endif - -#ifdef __MINI_MALLOC__ -#define malloc(x) ((*__alloca_alloc)(x)) -#endif - #endif |