summaryrefslogtreecommitdiffstats
path: root/lib/malloc.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2004-11-12 00:49:51 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2004-11-12 00:49:51 (GMT)
commitfbf1e60f477460205c2002bb34b87f9e1e3b0faf (patch)
tree96d568de54259a8b1f8e6a88dbb533037ef730e5 /lib/malloc.c
parentdbe8fb585697e3a7c073cef083ff2fb027b76968 (diff)
downloadmonitoring-plugins-fbf1e60f477460205c2002bb34b87f9e1e3b0faf.tar.gz
Update to using coreutils 5.2.1 libraries and snprintf.c from samba 3.0.8
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@895 f882894a-f735-0410-b71e-b25c423dba1c
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)