etc/services - sync with NetBSD-8
[minix.git] / external / bsd / flex / dist / lib / malloc.c
blobd4c605f8840b868cfa1e4d05c166535eb64262f8
1 #include <config.h>
2 #undef malloc
4 #include <sys/types.h>
6 void *malloc ();
8 /* Allocate an N-byte block of memory from the heap.
9 If N is zero, allocate a 1-byte block. */
11 void *
12 rpl_malloc (size_t n)
14 if (n == 0)
15 n = 1;
16 return malloc (n);