Re: smtpd: includes cleanup

2021-06-09 Thread Eric Faurot
Hi. Slightly updated diff, including sys/tree.h in smtpd.h. Eric. Index: aliases.c === RCS file: /cvs/src/usr.sbin/smtpd/aliases.c,v retrieving revision 1.78 diff -u -p -r1.78 aliases.c --- aliases.c 28 Apr 2020 21:46:43 -

Re: smtpd: includes cleanup

2021-05-27 Thread Eric Faurot
On Thu, May 27, 2021 at 08:13:36AM -0600, Todd C. Miller wrote: > On Thu, 27 May 2021 13:14:30 +0200, Eric Faurot wrote: > > > New diff with small tweaks. > > It looks like you are relying on sys/queue.h being included implicitly. > Since smtpd.h uses the TAILQ macros, should it include sys/queue

Re: smtpd: includes cleanup

2021-05-27 Thread Todd C . Miller
On Thu, 27 May 2021 13:14:30 +0200, Eric Faurot wrote: > New diff with small tweaks. It looks like you are relying on sys/queue.h being included implicitly. Since smtpd.h uses the TAILQ macros, should it include sys/queue.h itself? - todd

Re: smtpd: includes cleanup

2021-05-27 Thread Eric Faurot
New diff with small tweaks. Eric. Index: aliases.c === RCS file: /cvs/src/usr.sbin/smtpd/aliases.c,v retrieving revision 1.78 diff -u -p -r1.78 aliases.c --- aliases.c 28 Apr 2020 21:46:43 - 1.78 +++ aliases.c 26 May 202

smtpd: includes cleanup

2021-05-26 Thread Eric Faurot
Cruft has accumulated on that front. This diff cleans it up: the few headers that are directly required for smtpd.h are included there, and unnecessary includes are removed from the rest of the files. Eric. Index: aliases.c === RCS