summaryrefslogtreecommitdiffstats
path: root/lib/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/malloc.c')
-rw-r--r--lib/malloc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/malloc.c b/lib/malloc.c
index 5e7674b..a43d169 100644
--- a/lib/malloc.c
+++ b/lib/malloc.c
@@ -22,14 +22,12 @@
22#endif 22#endif
23#undef malloc 23#undef malloc
24 24
25#include <sys/types.h> 25#include <stdlib.h>
26
27char *malloc ();
28 26
29/* Allocate an N-byte block of memory from the heap. 27/* Allocate an N-byte block of memory from the heap.
30 If N is zero, allocate a 1-byte block. */ 28 If N is zero, allocate a 1-byte block. */
31 29
32char * 30void *
33rpl_malloc (size_t n) 31rpl_malloc (size_t n)
34{ 32{
35 if (n == 0) 33 if (n == 0)