makeing atacontrol WARNS=2 clean.

Johan Karlsson johan at FreeBSD.ORG
Sat Apr 12 07:25:10 PDT 2003


On Sun, Apr 13, 2003 at 00:11 (+1000) +0000, Tim Robbins wrote:
> > 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>.

Ok, I'll take your word for it :-)

/Johan K

> 
> 
> Tim

-- 
Johan Karlsson		mailto:johan at FreeBSD.org


More information about the freebsd-audit mailing list