From 660ef42354e54870e4a7899f6a870f0330f44196 Mon Sep 17 00:00:00 2001 From: espie <> Date: Mon, 10 Oct 2005 12:00:52 +0000 Subject: Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95. Patch by Leonardo Chiquitto Filho Thanks. --- src/lib/libc/stdlib/malloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libc/stdlib/malloc.c b/src/lib/libc/stdlib/malloc.c index cb2ba737ae..a3babab20a 100644 --- a/src/lib/libc/stdlib/malloc.c +++ b/src/lib/libc/stdlib/malloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: malloc.c,v 1.78 2005/10/05 18:38:10 deraadt Exp $ */ +/* $OpenBSD: malloc.c,v 1.79 2005/10/10 12:00:52 espie Exp $ */ /* * ---------------------------------------------------------------------------- @@ -48,6 +48,7 @@ #include #include #include +#include #include "thread_private.h" @@ -741,8 +742,7 @@ static void * malloc_pages(size_t size) { void *p, *delay_free = NULL, *tp; - int i, m; - struct rlimit rl; + int i; struct pginfo **pd; struct pdinfo *pi; u_long pidx, index; -- cgit v1.2.3-55-g6feb