]> Git Repo - uclibc-ng.git/commitdiff
Misc small cleanups.
authorMiles Bader <[email protected]>
Wed, 24 Jul 2002 06:07:17 +0000 (06:07 -0000)
committerMiles Bader <[email protected]>
Wed, 24 Jul 2002 06:07:17 +0000 (06:07 -0000)
libc/stdlib/malloc/free.c
libc/stdlib/malloc/malloc.c
libc/stdlib/malloc/realloc.c

index 41deed737e5788abc05d50b28679ab74851db50a..4aa21cb84b706010550521458feae63df948a171 100644 (file)
@@ -106,7 +106,8 @@ unmap_free_area (struct heap *heap, struct heap_free_area *fa)
 }
 
 \f
-void free (void *mem)
+void
+free (void *mem)
 {
   if (mem)
     {
index 0e84bf646914f035beb8d395efaf04f2f9c79407..049a3e003bd9ce2b2a69f782327399829719ab9a 100644 (file)
@@ -23,7 +23,8 @@
 struct heap __malloc_heap = HEAP_INIT;
 
 \f
-void *malloc (size_t size)
+void *
+malloc (size_t size)
 {
   void *mem;
 
index 091b3392b2ac00d753f6e12dccb3768f9e0d88cd..7d8227aff0635171545146aa86718d7bc20a0111 100644 (file)
 
 #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);
This page took 0.031604 seconds and 4 git commands to generate.