Re: makeing atacontrol WARNS=2 clean.
Tim Robbins <[email protected]> Sun, 13 Apr 2003 00:11:23 +1000
| Newsgroups | gmane.os.freebsd.devel.audit |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Apr 12, 2003 at 03:59:16PM +0200, Johan Karlsson wrote: > Hi Søren and others. > > I intend to commit this patch to make atacontrol WARNS=2 clean. > > I hope it's ok with you. [...] > .include <bsd.prog.mk> > Index: atacontrol/atacontrol.c > =================================================================== > RCS file: /home/ncvs/src/sbin/atacontrol/atacontrol.c,v > retrieving revision 1.20 > diff -u -r1.20 atacontrol.c > --- atacontrol/atacontrol.c 22 Mar 2003 12:18:20 -0000 1.20 > +++ atacontrol/atacontrol.c 24 Mar 2003 13:22:07 -0000 > @@ -30,6 +30,7 @@ > > #include <sys/types.h> > #include <sys/ata.h> > +#include <sys/stdint.h> > > #include <err.h> > #include <errno.h> It would be better to use <stdint.h> here, even though it is exactly the same as <sys/stdint.h>. Tim _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-audit To unsubscribe, send any mail to "[email protected]"