diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-12 00:49:51 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-12 00:49:51 (GMT) |
commit | fbf1e60f477460205c2002bb34b87f9e1e3b0faf (patch) | |
tree | 96d568de54259a8b1f8e6a88dbb533037ef730e5 /lib/malloc.c | |
parent | dbe8fb585697e3a7c073cef083ff2fb027b76968 (diff) | |
download | monitoring-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.c | 6 |
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 | |||
27 | char *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 | ||
32 | char * | 30 | void * |
33 | rpl_malloc (size_t n) | 31 | rpl_malloc (size_t n) |
34 | { | 32 | { |
35 | if (n == 0) | 33 | if (n == 0) |