Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2011 08:53:11 +0200
From:      Stefan Farfeleder <stefanf@FreeBSD.org>
To:        Tai-hwa Liang <avatar@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r223138 - head/sys/ufs/ffs
Message-ID:  <20110616065310.GA2542@mole.fafoe.narf.at>
In-Reply-To: <201106160526.p5G5Q3RX013915@svn.freebsd.org>
References:  <201106160526.p5G5Q3RX013915@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 16, 2011 at 05:26:03AM +0000, Tai-hwa Liang wrote:
> Author: avatar
> Date: Thu Jun 16 05:26:03 2011
> New Revision: 223138
> URL: http://svn.freebsd.org/changeset/base/223138
> 
> Log:
>   Fixing compilation bustage by introducing another forward declaration.
> 
> Modified:
>   head/sys/ufs/ffs/ffs_extern.h
> 
> Modified: head/sys/ufs/ffs/ffs_extern.h
> ==============================================================================
> --- head/sys/ufs/ffs/ffs_extern.h	Thu Jun 16 02:27:05 2011	(r223137)
> +++ head/sys/ufs/ffs/ffs_extern.h	Thu Jun 16 05:26:03 2011	(r223138)
> @@ -33,6 +33,7 @@
>  #ifndef _UFS_FFS_EXTERN_H
>  #define	_UFS_FFS_EXTERN_H
>  
> +enum vtype;
>  struct buf;
>  struct cg;
>  struct fid;
> 

This is not valid C code. For some reason GCC allows it (with our
compilation flags).

Stefan



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