Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2017 08:34:03 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r323743 - stable/11/contrib/tcp_wrappers
Message-ID:  <201709190834.v8J8Y3gY038367@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Tue Sep 19 08:34:03 2017
New Revision: 323743
URL: https://svnweb.freebsd.org/changeset/base/323743

Log:
  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.

Modified:
  stable/11/contrib/tcp_wrappers/scaffold.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/contrib/tcp_wrappers/scaffold.c
==============================================================================
--- stable/11/contrib/tcp_wrappers/scaffold.c	Tue Sep 19 08:29:53 2017	(r323742)
+++ stable/11/contrib/tcp_wrappers/scaffold.c	Tue Sep 19 08:34:03 2017	(r323743)
@@ -27,10 +27,6 @@ static char sccs_id[] = "@(#) scaffold.c 1.6 97/03/21 
 #define	INADDR_NONE	(-1)		/* XXX should be 0xffffffff */
 #endif
 
-#ifndef INET6
-extern char *malloc();
-#endif
-
 /* Application-specific. */
 
 #include "tcpd.h"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709190834.v8J8Y3gY038367>