diff options
| author | David Malone <dwmalone@FreeBSD.org> | 2002-01-24 12:11:31 +0000 |
|---|---|---|
| committer | David Malone <dwmalone@FreeBSD.org> | 2002-01-24 12:11:31 +0000 |
| commit | 98d1592458f5ead3e8cd52ca7d8185977d7fdef8 (patch) | |
| tree | b31855c8a65a23be32e28129e6ef6b841a1500fe /libexec | |
| parent | e4e61f78536cea5cf9c73cf4b2dab9565ee993be (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/rtld-aout/rtld.c | 2 | ||||
| -rw-r--r-- | libexec/rtld-elf/malloc.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/libexec/rtld-aout/rtld.c b/libexec/rtld-aout/rtld.c index 7f0908b90258..6769fa18a7ab 100644 --- a/libexec/rtld-aout/rtld.c +++ b/libexec/rtld-aout/rtld.c @@ -2518,7 +2518,7 @@ malloc(size) newbrk = (char *) roundup2((unsigned long)rtld_alloc_lev, PAGSIZ); - if (brk(newbrk) == (char *)-1) + if (brk(newbrk) == -1) return NULL; } diff --git a/libexec/rtld-elf/malloc.c b/libexec/rtld-elf/malloc.c index cb00a204974a..1e0664ce3195 100644 --- a/libexec/rtld-elf/malloc.c +++ b/libexec/rtld-elf/malloc.c @@ -119,7 +119,6 @@ union overhead { */ #define NBUCKETS 30 static union overhead *nextf[NBUCKETS]; -extern char *sbrk(); static int pagesz; /* page size */ static int pagebucket; /* page size bucket */ |
