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 cb2ba737ae..a3babab20a 100644 --- a/src/lib/libc/stdlib/malloc.c +++ b/src/lib/libc/stdlib/malloc.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: malloc.c,v 1.78 2005/10/05 18:38:10 deraadt Exp $ */ | 1 | /* $OpenBSD: malloc.c,v 1.79 2005/10/10 12:00:52 espie Exp $ */ |
| 2 | 2 | ||
| 3 | /* | 3 | /* |
| 4 | * ---------------------------------------------------------------------------- | 4 | * ---------------------------------------------------------------------------- |
| @@ -48,6 +48,7 @@ | |||
| 48 | #include <fcntl.h> | 48 | #include <fcntl.h> |
| 49 | #include <limits.h> | 49 | #include <limits.h> |
| 50 | #include <errno.h> | 50 | #include <errno.h> |
| 51 | #include <err.h> | ||
| 51 | 52 | ||
| 52 | #include "thread_private.h" | 53 | #include "thread_private.h" |
| 53 | 54 | ||
| @@ -741,8 +742,7 @@ static void * | |||
| 741 | malloc_pages(size_t size) | 742 | malloc_pages(size_t size) |
| 742 | { | 743 | { |
| 743 | void *p, *delay_free = NULL, *tp; | 744 | void *p, *delay_free = NULL, *tp; |
| 744 | int i, m; | 745 | int i; |
| 745 | struct rlimit rl; | ||
| 746 | struct pginfo **pd; | 746 | struct pginfo **pd; |
| 747 | struct pdinfo *pi; | 747 | struct pdinfo *pi; |
| 748 | u_long pidx, index; | 748 | u_long pidx, index; |
