svn commit: r272950 - head/contrib/tcp_wrappers

Pedro F. Giffuni pfg at FreeBSD.org
Sat Oct 11 18:54:38 UTC 2014


Author: pfg
Date: Sat Oct 11 18:54:37 2014
New Revision: 272950
URL: https://svnweb.freebsd.org/changeset/base/272950

Log:
  tcpd.h: add prototype for hosts_ctl
  
  According the hosts_access(3) man page the hosts_ctl() prototype
  should be in tcpd.h. For now, follow other declarations and don't
  add the arguments in the prototype.
  
  Reference:
  https://www.illumos.org/issues/4385
  
  PR:		32808
  MFC after:	2 weeks

Modified:
  head/contrib/tcp_wrappers/tcpd.h

Modified: head/contrib/tcp_wrappers/tcpd.h
==============================================================================
--- head/contrib/tcp_wrappers/tcpd.h	Sat Oct 11 18:34:10 2014	(r272949)
+++ head/contrib/tcp_wrappers/tcpd.h	Sat Oct 11 18:54:37 2014	(r272950)
@@ -73,6 +73,7 @@ extern void fromhost();			/* get/validat
 #endif
 
 extern int hosts_access();		/* access control */
+extern int hosts_ctl();			/* wrapper around request_init() */
 extern void shell_cmd();		/* execute shell command */
 extern char *percent_x();		/* do %<char> expansion */
 extern void rfc931();			/* client name from RFC 931 daemon */


More information about the svn-src-all mailing list