svn commit: r223138 - head/sys/ufs/ffs

Stefan Farfeleder stefanf at FreeBSD.org
Thu Jun 16 06:53:16 UTC 2011


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


More information about the svn-src-all mailing list