summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2017-09-19 08:34:13 +0000
committeravg <avg@FreeBSD.org>2017-09-19 08:34:13 +0000
commit31c3680770a54ff4b4076534f83fe8a6c74508c7 (patch)
treeb9297eb5fd2654d626233ca68f4fe539e821c7d1
parent4ca7bce2427854fed17b83346748a1c87275af04 (diff)
downloadFreeBSD-src-31c3680770a54ff4b4076534f83fe8a6c74508c7.zip
FreeBSD-src-31c3680770a54ff4b4076534f83fe8a6c74508c7.tar.gz
MFC r320151: remove bogus declaration of malloc from tcp_wrappers
The declaration was already inactive when INET6 was enabled and it causes a build error in the other case because of a conflict with the correct definition in stdlib.h.
-rw-r--r--contrib/tcp_wrappers/scaffold.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/tcp_wrappers/scaffold.c b/contrib/tcp_wrappers/scaffold.c
index bef8467..e4ac33f 100644
--- a/contrib/tcp_wrappers/scaffold.c
+++ b/contrib/tcp_wrappers/scaffold.c
@@ -27,10 +27,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"
OpenPOWER on IntegriCloud