From 31c3680770a54ff4b4076534f83fe8a6c74508c7 Mon Sep 17 00:00:00 2001 From: avg Date: Tue, 19 Sep 2017 08:34:13 +0000 Subject: 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. --- contrib/tcp_wrappers/scaffold.c | 4 ---- 1 file changed, 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" -- cgit v1.1