svn commit: r276031 - head/sys/dev/beri/virtio

Andrew Turner andrew at fubar.geek.nz
Sun Dec 21 21:52:11 UTC 2014


On Sun, 21 Dec 2014 21:24:20 +0000 (UTC)
Ian Lepore <ian at FreeBSD.org> wrote:

> Author: ian
> Date: Sun Dec 21 21:24:19 2014
> New Revision: 276031
> URL: https://svnweb.freebsd.org/changeset/base/276031
> 
> Log:
>   Eliminate a "cast discards qualifiers" warning when building with
> gcc.
> 
> Modified:
>   head/sys/dev/beri/virtio/virtio.c
> 
> Modified: head/sys/dev/beri/virtio/virtio.c
> ==============================================================================
> --- head/sys/dev/beri/virtio/virtio.c	Sun Dec 21 21:23:53
> 2014	(r276030) +++ head/sys/dev/beri/virtio/virtio.c
> Sun Dec 21 21:24:19 2014	(r276031) @@ -38,6 +38,7 @@
> __FBSDID("$FreeBSD$");
>  #include <sys/param.h>
>  #include <sys/systm.h>
>  #include <sys/bus.h>
> +#include <sys/cdefs.h>

Don't we already have this include just above the __FBSDID line?

Andrew


More information about the svn-src-all mailing list