DragonFly BSD
DragonFly bugs List (threaded) for 2006-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

inode.h:88: error: syntax error before "cdev_t"


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Tue, 3 Oct 2006 12:50:46 -0700

This is while compiling pkgsrc libgtop2 on -current:

In file included from procmem.c:44:
/usr/include/ufs/ufs/inode.h:88: error: syntax error before "cdev_t"

Here is a snippet of inod.h up to line 88:
struct inode {
        struct inode    *i_next;/* Hash chain */
        struct  vnode  *i_vnode;/* Vnode associated with this inode. */
        struct  vnode  *i_devvp;/* Vnode for block I/O. */
        uint32_t i_flag;        /* flags, see below */
        cdev_t    i_dev;        /* Device associated with the inode. */

I can't spot any syntax error there, so maybe the error message is
misleading?  Any guesses?




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]