On Thu, Aug 03 2017, Rob Pierce <r...@2keys.ca> wrote: > switchd no longer requires err.h.
ok jca@ You could also stop including errno.h and syslog.h in parse.y. > Index: packet.c > =================================================================== > RCS file: /cvs/src/usr.sbin/switchd/packet.c,v > retrieving revision 1.4 > diff -u -p -r1.4 packet.c > --- packet.c 26 Sep 2016 08:55:43 -0000 1.4 > +++ packet.c 4 Aug 2017 00:03:59 -0000 > @@ -29,7 +29,6 @@ > #include <stdlib.h> > #include <string.h> > #include <fcntl.h> > -#include <err.h> > #include <pwd.h> > #include <event.h> > > Index: parse.y > =================================================================== > RCS file: /cvs/src/usr.sbin/switchd/parse.y,v > retrieving revision 1.4 > diff -u -p -r1.4 parse.y > --- parse.y 5 Jan 2017 12:42:19 -0000 1.4 > +++ parse.y 4 Aug 2017 00:03:59 -0000 > @@ -29,7 +29,6 @@ > #include <sys/un.h> > > #include <ctype.h> > -#include <err.h> > #include <errno.h> > #include <limits.h> > #include <netdb.h> > -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE