svn commit: r311459 - head/contrib/tcp_wrappers

2017-01-05 Thread Dimitry Andric
Author: dim Date: Thu Jan 5 20:44:45 2017 New Revision: 311459 URL: https://svnweb.freebsd.org/changeset/base/311459 Log: Put proper prototypes in tcpd.h Clang 4.0.0 complains about tcpd.h's not-really-prototypes, e.g.: /usr/include/tcpd.h:75:24: error: this function declaration i

Re: svn commit: r311459 - head/contrib/tcp_wrappers

2017-01-05 Thread Konstantin Belousov
On Thu, Jan 05, 2017 at 08:44:45PM +, Dimitry Andric wrote: > +extern int hosts_access(struct request_info *); > /* access control */ > +extern int hosts_ctl(char *, char *, char *, char *); > /* wrapper around request_init() */ The 'extern

Re: svn commit: r311459 - head/contrib/tcp_wrappers

2017-01-05 Thread Dimitry Andric
On 05 Jan 2017, at 22:05, Konstantin Belousov wrote: > > On Thu, Jan 05, 2017 at 08:44:45PM +, Dimitry Andric wrote: >> +extern int hosts_access(struct request_info *); >> /* access control */ >> +extern int hosts_ctl(char *, char *, char *, char *);

Re: svn commit: r311459 - head/contrib/tcp_wrappers

2017-01-06 Thread Shawn Webb
Hey Dimitry, On Thu, Jan 05, 2017 at 08:44:45PM +, Dimitry Andric wrote: > Author: dim > Date: Thu Jan 5 20:44:45 2017 > New Revision: 311459 > URL: https://svnweb.freebsd.org/changeset/base/311459 > > Log: > Put proper prototypes in tcpd.h > > Clang 4.0.0 complains about tcpd.h's not

Re: svn commit: r311459 - head/contrib/tcp_wrappers

2017-01-06 Thread Dimitry Andric
On 06 Jan 2017, at 22:01, Shawn Webb wrote: > > On Thu, Jan 05, 2017 at 08:44:45PM +, Dimitry Andric wrote: >> Author: dim >> Date: Thu Jan 5 20:44:45 2017 >> New Revision: 311459 >> URL: https://svnweb.freebsd.org/changeset/base/311459 >> >> Log: >> Put proper prototypes in tcpd.h ... >

Re: svn commit: r311459 - head/contrib/tcp_wrappers

2017-01-06 Thread Shawn Webb
On Fri, Jan 06, 2017 at 10:42:52PM +0100, Dimitry Andric wrote: > On 06 Jan 2017, at 22:01, Shawn Webb wrote: > > > > On Thu, Jan 05, 2017 at 08:44:45PM +, Dimitry Andric wrote: > >> Author: dim > >> Date: Thu Jan 5 20:44:45 2017 > >> New Revision: 311459 > >> URL: https://svnweb.freebsd.org