Blame lib/malloc.c

Packit f00812
     #include <config.h>
Packit f00812
     #undef malloc
Packit f00812
     
Packit f00812
     #include <sys/types.h>
Packit f00812
     
Packit f00812
     void *malloc ();
Packit f00812
     
Packit f00812
     /* Allocate an N-byte block of memory from the heap.
Packit f00812
        If N is zero, allocate a 1-byte block.  */
Packit f00812
     
Packit f00812
     void *
Packit f00812
     rpl_malloc (size_t n)
Packit f00812
     {
Packit f00812
       if (n == 0)
Packit f00812
         n = 1;
Packit f00812
       return malloc (n);
Packit f00812
     }