aboutsummaryrefslogtreecommitdiff
path: root/contrib/tcp_wrappers
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2017-06-20 16:40:31 +0000
committerAndriy Gapon <avg@FreeBSD.org>2017-06-20 16:40:31 +0000
commitcec9c3b13bef10d823f15e7bee8807b8064d263e (patch)
tree44e7f91532a48699f14aa4b0698f1b3160501af8 /contrib/tcp_wrappers
parenta793c109aeb4a1546560011244dc04d45cc86cf0 (diff)
downloadsrc-cec9c3b13bef10d823f15e7bee8807b8064d263e.tar.gz
src-cec9c3b13bef10d823f15e7bee8807b8064d263e.zip
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. Discussed with: dim, ume MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=320151
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 dd8f1fbfedcc..ba3dfac7ea98 100644
--- a/contrib/tcp_wrappers/scaffold.c
+++ b/contrib/tcp_wrappers/scaffold.c
@@ -28,10 +28,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"