cvs commit: src/sys/netgraph ng_base.c

Ruslan Ermilov ru at FreeBSD.org
Thu Dec 23 02:57:18 PST 2004


On Thu, Dec 23, 2004 at 10:48:10AM +0000, Gleb Smirnoff wrote:
> glebius     2004-12-23 10:48:10 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/netgraph         ng_base.c 
>   Log:
>   - sort includes
>   - remove duplicate include sys/sysctl.h
>   
>   Revision  Changes    Path
>   1.89      +4 -5      src/sys/netgraph/ng_base.c
> 
>  #include <sys/param.h>
> -#include <sys/systm.h>
> +#include <sys/ctype.h>
>  #include <sys/errno.h>
>  #include <sys/kdb.h>
>  #include <sys/kernel.h>
>  #include <sys/limits.h>
>  #include <sys/malloc.h>
> -#include <sys/syslog.h>
> -#include <sys/sysctl.h>
> -#include <sys/queue.h>
>  #include <sys/mbuf.h>
> -#include <sys/ctype.h>
> +#include <sys/queue.h>
>  #include <sys/sysctl.h>
> +#include <sys/syslog.h>
> +#include <sys/systm.h>
> 
Wrong.  <sys/systm.h> is special, it's a prerequisite for
<sys/mbuf.h>, according to mbuf(9) manpage.  It only works
now because <sys/mbuf.h> includes it for the _KERNEL case.


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20041223/b69b7b26/attachment.bin


More information about the cvs-all mailing list