Code

Update to using coreutils 5.2.1 libraries and snprintf.c from samba 3.0.8
[nagiosplug.git] / lib / malloc.c
index 5e7674bd47d541f17348164f049d3122f17f1ea9..a43d169271b733412ba2f8326fd7f7643de93869 100644 (file)
 #endif
 #undef malloc
 
-#include <sys/types.h>
-
-char *malloc ();
+#include <stdlib.h>
 
 /* Allocate an N-byte block of memory from the heap.
    If N is zero, allocate a 1-byte block.  */
 
-char *
+void *
 rpl_malloc (size_t n)
 {
   if (n == 0)