Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2014 21:51:55 +0000
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        Ian Lepore <ian@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r276031 - head/sys/dev/beri/virtio
Message-ID:  <20141221215155.7228fef8@bender.lan>
In-Reply-To: <201412212124.sBLLOK0k072358@svn.freebsd.org>
References:  <201412212124.sBLLOK0k072358@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 21 Dec 2014 21:24:20 +0000 (UTC)
Ian Lepore <ian@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141221215155.7228fef8>