diff options
| author | 1996-09-15 09:30:42 +0000 | |
|---|---|---|
| committer | 1996-09-15 09:30:42 +0000 | |
| commit | c8f91e0d750eb1dd5aa79a93a20a522c47067c28 (patch) | |
| tree | 151e2a572b80f59c243874a0738c218470cf1bc0 /lib/libc/db/mpool/mpool.c | |
| parent | print debugging flags in usage(); idea from freebsd (diff) | |
| download | wireguard-openbsd-c8f91e0d750eb1dd5aa79a93a20a522c47067c28.tar.xz wireguard-openbsd-c8f91e0d750eb1dd5aa79a93a20a522c47067c28.zip | |
Remove dead code
Remove unused variables
Silence some warnings
lint(1) is your friend
Diffstat (limited to 'lib/libc/db/mpool/mpool.c')
| -rw-r--r-- | lib/libc/db/mpool/mpool.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/db/mpool/mpool.c b/lib/libc/db/mpool/mpool.c index e37cc9968bc..69d5fbadfc7 100644 --- a/lib/libc/db/mpool/mpool.c +++ b/lib/libc/db/mpool/mpool.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: mpool.c,v 1.3 1996/08/19 08:20:52 tholo Exp $"; +static char rcsid[] = "$OpenBSD: mpool.c,v 1.4 1996/09/15 09:30:51 tholo Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -58,6 +58,7 @@ static int mpool_write __P((MPOOL *, BKT *)); * mpool_open -- * Initialize a memory pool. */ +/* ARGSUSED */ MPOOL * mpool_open(key, fd, pagesize, maxcache) void *key; @@ -149,6 +150,7 @@ mpool_new(mp, pgnoaddr) * mpool_get * Get a page. */ +/* ARGSUSED */ void * mpool_get(mp, pgno, flags) MPOOL *mp; @@ -234,6 +236,7 @@ mpool_get(mp, pgno, flags) * mpool_put * Return a page. */ +/* ARGSUSED */ int mpool_put(mp, page, flags) MPOOL *mp; |
