Project

General

Profile

Actions

Bug #339

closed

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

Added by wa1ter about 18 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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?

Actions

Also available in: Atom PDF