Browse Source

Code formatting cleanup.

Miles Bader 21 years ago
parent
commit
3e6ccac195
1 changed files with 6 additions and 5 deletions
  1. 6 5
      libc/stdlib/malloc/realloc.c

+ 6 - 5
libc/stdlib/malloc/realloc.c

@@ -26,12 +26,13 @@ realloc (void *mem, size_t new_size)
   char *base_mem;
   char *base_mem;
 
 
   /* Check for special cases.  */
   /* Check for special cases.  */
-  if (!mem)
+  if (! mem)
-      return malloc(new_size);
+    return malloc (new_size);
-  if (!new_size) {
+  if (! new_size)
+    {
       free (mem);
       free (mem);
-      return (malloc(new_size));
+      return malloc (new_size);
-  }
+    }
 
 
   /* Normal realloc.  */
   /* Normal realloc.  */