struct coda_vattr {
long va_type; /* vnode type (for create) */
u_short va_mode; /* files access mode and type */
short va_nlink; /* number of references to file */
vuid_t va_uid; /* owner user id */
vgid_t va_gid; /* owner group id */
long va_fileid; /* file id */
u_quad_t va_size; /* file size in bytes */
long va_blocksize;/* blocksize preferred for i/o */
struct timespec va_atime; /* time of last access */
struct timespec va_mtime;/* time of last modification */
struct timespec va_ctime; /* time file changed */
u_long va_gen; /* generation number of file */
u_long va_flags; /* flags defined for file */
cdev_t va_rdev; /* device special file represents */
u_quad_t va_bytes; /* bytes of disk space held by file */
u_quad_t va_filerev; /* file modification number */
};
报错是:
259行: parse error before `u_quad_t'和warning: no semicolon at end of struct or union
267行: parse error before `va_bytes'和: warning: data definition has no type or storage class
268行: parse error before `va_filerev'和: warning: data definition has no type or storage class