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 _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"