summaryrefslogtreecommitdiff
path: root/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6.28-no-external-malloc.patch
blob: eebd600aab242e48425ddce5b7af2ca19979605b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
We use malloc() from stdlib.h.

--- a/scaffold.c
+++ b/scaffold.c
@@ -26,10 +26,6 @@ static char sccs_id[] = "@(#) scaffold.c 1.6 97/03/21 19:27:24";
 #define	INADDR_NONE	(-1)		/* XXX should be 0xffffffff */
 #endif
 
-#ifndef INET6
-extern char *malloc();
-#endif
-
 /* Application-specific. */
 
 #include "tcpd.h"