Преглед на файлове

- fix another fallout from r23660

Bernhard Reutner-Fischer преди 16 години
родител
ревизия
8723f09bca
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      libc/stdlib/malloc/malloc.c
  2. 2 2
      libc/stdlib/malloc/malloc.h

+ 1 - 1
libc/stdlib/malloc/malloc.c

@@ -38,7 +38,7 @@ malloc_mutex_t __malloc_sbrk_lock;
 
 
 
 
 #ifdef __UCLIBC_UCLINUX_BROKEN_MUNMAP__
 #ifdef __UCLIBC_UCLINUX_BROKEN_MUNMAP__
-/* A list of all malloc_mmb structures describing blocsk that
+/* A list of all malloc_mmb structures describing blocks that
    malloc has mmapped, ordered by the block address.  */
    malloc has mmapped, ordered by the block address.  */
 struct malloc_mmb *__malloc_mmapped_blocks = 0;
 struct malloc_mmb *__malloc_mmapped_blocks = 0;
 
 

+ 2 - 2
libc/stdlib/malloc/malloc.h

@@ -70,14 +70,14 @@ struct malloc_mmb
   struct malloc_mmb *next;
   struct malloc_mmb *next;
 };
 };
 
 
-/* A list of all malloc_mmb structures describing blocsk that malloc has
+/* A list of all malloc_mmb structures describing blocks that malloc has
    mmapped, ordered by the block address.  */
    mmapped, ordered by the block address.  */
 extern struct malloc_mmb *__malloc_mmapped_blocks;
 extern struct malloc_mmb *__malloc_mmapped_blocks;
 
 
 /* A heap used for allocating malloc_mmb structures.  We could allocate
 /* A heap used for allocating malloc_mmb structures.  We could allocate
    them from the main heap, but that tends to cause heap fragmentation in
    them from the main heap, but that tends to cause heap fragmentation in
    annoying ways.  */
    annoying ways.  */
-extern struct heap __malloc_mmb_heap;
+extern struct heap_free_area *__malloc_mmb_heap;
 
 
 /* Define MALLOC_MMB_DEBUGGING to cause malloc to emit debugging info about
 /* Define MALLOC_MMB_DEBUGGING to cause malloc to emit debugging info about
    about mmap block allocation/freeing by the `uclinux broken munmap' code
    about mmap block allocation/freeing by the `uclinux broken munmap' code