summaryrefslogtreecommitdiffstats
path: root/contrib/tcp_wrappers
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2017-09-19 08:34:03 +0000
committeravg <avg@FreeBSD.org>2017-09-19 08:34:03 +0000
commiteafc6b87268e207f3d34112efaa2865ce2afe0cd (patch)
tree71de2853eeae48c1c10befab8955c1d4d381cd7a /contrib/tcp_wrappers
parentd4cb036f41345fd8b3a8cd3eee72c81c81ea703a (diff)
downloadFreeBSD-src-eafc6b87268e207f3d34112efaa2865ce2afe0cd.zip
FreeBSD-src-eafc6b87268e207f3d34112efaa2865ce2afe0cd.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.
Diffstat (limited to 'contrib/tcp_wrappers')
-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