diff options
author | pfg <pfg@FreeBSD.org> | 2014-10-11 18:54:37 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-10-11 18:54:37 +0000 |
commit | 42209922ff3dc9d65e9ddb3ef6f1da42e818ccf0 (patch) | |
tree | ba45e05a488bbddcc9e33b88c7ef498afb152edf /contrib/tcp_wrappers | |
parent | 0a516f07e6fa759f5faaa95cad402274eb34c189 (diff) | |
download | FreeBSD-src-42209922ff3dc9d65e9ddb3ef6f1da42e818ccf0.zip FreeBSD-src-42209922ff3dc9d65e9ddb3ef6f1da42e818ccf0.tar.gz |
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
Diffstat (limited to 'contrib/tcp_wrappers')
-rw-r--r-- | contrib/tcp_wrappers/tcpd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/tcp_wrappers/tcpd.h b/contrib/tcp_wrappers/tcpd.h index 07eaff8..af17c07 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 %<char> expansion */ extern void rfc931(); /* client name from RFC 931 daemon */ |