tools/llvm: Do not build with symbols
[minix3.git] / external / bsd / flex / dist / lib / malloc.c
blob04f88c75651851ccadb1f4e9472f3740e5fbb4fe
1 /* $NetBSD: malloc.c,v 1.1.1.1 2013/04/06 14:05:53 christos Exp $ */
3 #include <config.h>
4 #undef malloc
6 #include <sys/types.h>
8 void *malloc ();
10 /* Allocate an N-byte block of memory from the heap.
11 If N is zero, allocate a 1-byte block. */
13 void *
14 rpl_malloc (size_t n)
16 if (n == 0)
17 n = 1;
18 return malloc (n);