diff options
author | 1996-03-25 22:16:37 +0000 | |
---|---|---|
committer | 1996-03-25 22:16:37 +0000 | |
commit | d6b090604520ff153cf625a21b175c2788328f20 (patch) | |
tree | 40f8889a8da6ddc0a6e965160d7fa78edc5c0986 /lib/libc/stdlib/malloc.c | |
parent | Protect internal mcount symbol from lint(1) (diff) | |
download | wireguard-openbsd-d6b090604520ff153cf625a21b175c2788328f20.tar.xz wireguard-openbsd-d6b090604520ff153cf625a21b175c2788328f20.zip |
Add prototypes for internal functions
Change inline to __inline
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
-rw-r--r-- | lib/libc/stdlib/malloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 4498a9fb6c5..612759d9b2e 100644 --- a/lib/libc/stdlib/malloc.c +++ b/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 $"; #define NULL 0 -static void morecore(); -static int findbucket(); - /* * The overhead on a block is at least 4 bytes. When free, this space * contains a pointer to the next free block, and the bottom two bits must @@ -88,6 +85,9 @@ union overhead { #define ov_size ovu.ovu_size }; +static void morecore __P((int)); +static int findbucket __P((union overhead *, int)); + #define MAGIC 0xef /* magic # on accounting info */ #define RMAGIC 0x5555 /* magic # on range info */ |