소스 검색

Removed old noise.
-Erik

Eric Andersen 24 년 전
부모
커밋
c0b41a5aea
1개의 변경된 파일0개의 추가작업 그리고 16개의 파일을 삭제
  1. 0 16
      include/malloc.h

+ 0 - 16
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