svn commit: r257406 - head/contrib/tcp_wrappers
Sean Bruno
sbruno at FreeBSD.org
Wed Oct 30 22:45:36 UTC 2013
Author: sbruno
Date: Wed Oct 30 22:45:35 2013
New Revision: 257406
URL: http://svnweb.freebsd.org/changeset/base/257406
Log:
Queisce warning about undeclared function usage.
yp_get_default_domain is defined in workaround.c but is not declared
in any header file. Tie the declaration to the same #define conditional
used when the function is called, NETGROUP
Modified:
head/contrib/tcp_wrappers/hosts_access.c
Modified: head/contrib/tcp_wrappers/hosts_access.c
==============================================================================
--- head/contrib/tcp_wrappers/hosts_access.c Wed Oct 30 22:43:40 2013 (r257405)
+++ head/contrib/tcp_wrappers/hosts_access.c Wed Oct 30 22:45:35 2013 (r257406)
@@ -103,6 +103,11 @@ static int masked_match6();
#define BUFLEN 2048
+/* definition to be used from workarounds.c */
+#ifdef NETGROUP
+int yp_get_default_domain(char **);
+#endif
+
/* hosts_access - host access control facility */
int hosts_access(request)
More information about the svn-src-head
mailing list