summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc/realloc.c
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2002-07-24 06:07:17 +0000
committerMiles Bader <miles@lsi.nec.co.jp>2002-07-24 06:07:17 +0000
commita4214b24913dbe9050e540ddd97376f2f79ceb63 (patch)
tree3bafd61759218a5cd56c55dd6db7d2503b7f287c /libc/stdlib/malloc/realloc.c
parent1c53466dd39e2b513f6a1fee9f7e42736905d443 (diff)
Misc small cleanups.
Diffstat (limited to 'libc/stdlib/malloc/realloc.c')
-rw-r--r--libc/stdlib/malloc/realloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdlib/malloc/realloc.c b/libc/stdlib/malloc/realloc.c
index 091b3392b..7d8227aff 100644
--- a/libc/stdlib/malloc/realloc.c
+++ b/libc/stdlib/malloc/realloc.c
@@ -13,13 +13,13 @@
#include <stdlib.h>
#include <string.h>
-#include <sys/mman.h>
#include "malloc.h"
#include "heap.h"
-void *realloc (void *mem, size_t new_size)
+void *
+realloc (void *mem, size_t new_size)
{
if (! mem)
return malloc (new_size);