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
This commit is contained in:
Pedro F. Giffuni 2014-10-11 18:54:37 +00:00
parent b1f8be4004
commit eb4e1f8059
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272950

View file

@ -73,6 +73,7 @@ extern void fromhost(); /* get/validate client host info */
#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 */