From eb4e1f805953fa9321c10ff73eb0fb2e2a8c184e Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Sat, 11 Oct 2014 18:54:37 +0000 Subject: [PATCH] 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 --- contrib/tcp_wrappers/tcpd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/tcp_wrappers/tcpd.h b/contrib/tcp_wrappers/tcpd.h index 07eaff824b00..af17c076ca3a 100644 --- a/contrib/tcp_wrappers/tcpd.h +++ b/contrib/tcp_wrappers/tcpd.h @@ -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 % expansion */ extern void rfc931(); /* client name from RFC 931 daemon */