diff options
Diffstat (limited to 'src/lib/libc/stdlib/malloc.c')
-rw-r--r-- | src/lib/libc/stdlib/malloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/malloc.c b/src/lib/libc/stdlib/malloc.c index 4498a9fb6c..612759d9b2 100644 --- a/src/lib/libc/stdlib/malloc.c +++ b/src/lib/libc/stdlib/malloc.c | |||
@@ -59,9 +59,6 @@ static char *rcsid = "$NetBSD: malloc.c,v 1.6 1996/01/17 02:45:25 jtc Exp $"; | |||
59 | 59 | ||
60 | #define NULL 0 | 60 | #define NULL 0 |
61 | 61 | ||
62 | static void morecore(); | ||
63 | static int findbucket(); | ||
64 | |||
65 | /* | 62 | /* |
66 | * The overhead on a block is at least 4 bytes. When free, this space | 63 | * The overhead on a block is at least 4 bytes. When free, this space |
67 | * contains a pointer to the next free block, and the bottom two bits must | 64 | * contains a pointer to the next free block, and the bottom two bits must |
@@ -88,6 +85,9 @@ union overhead { | |||
88 | #define ov_size ovu.ovu_size | 85 | #define ov_size ovu.ovu_size |
89 | }; | 86 | }; |
90 | 87 | ||
88 | static void morecore __P((int)); | ||
89 | static int findbucket __P((union overhead *, int)); | ||
90 | |||
91 | #define MAGIC 0xef /* magic # on accounting info */ | 91 | #define MAGIC 0xef /* magic # on accounting info */ |
92 | #define RMAGIC 0x5555 /* magic # on range info */ | 92 | #define RMAGIC 0x5555 /* magic # on range info */ |
93 | 93 | ||