On Sun, Apr 22, 2001 at 11:24:42AM -0500, Michael Harnois wrote:
> In file included from ../../dev/bktr/bktr_audio.c:52:
> ../../sys/vnode.h:571: conflicting types for `vaccess_acl_posix1e'
> ../../sys/vnode.h:568: previous declaration of `vaccess_acl_posix1e'
> ../../sys/vnode.h:571: warning: redundant redeclaration of `vaccess_acl_posix1e' in
>same scope
> ../../sys/vnode.h:568: warning: previous declaration of `vaccess_acl_posix1e'
> *** Error code 1
>
> the offending lines in vnode.h are
>
> int vaccess_acl_posix1e __P((enum vtype type, struct acl *acl,
> mode_t acc_mode, struct ucred *cred, int *privused));
> int vaccess_acl_posix1e __P((enum vtype type, uid_t file_uid,
> gid_t file_gid, struct acl *acl, mode_t acc_mode,
> struct ucred *cred, int *privused));
>
> One suspects only one of those can be correct ...
>
It appears so. I removed the first line and everything compiled fine. I'm
not testing huge amounts of code, so YMMV:
*** vnode.h Sun Apr 22 10:42:29 2001
--- vnode.h.old Sun Apr 22 10:39:18 2001
***************
*** 564,569 ****
--- 564,571 ----
char **retfreebuf));
int vaccess __P((enum vtype type, mode_t file_mode, uid_t uid, gid_t gid,
mode_t acc_mode, struct ucred *cred, int *privused));
+ int vaccess_acl_posix1e __P((enum vtype type, struct acl *acl,
+ mode_t acc_mode, struct ucred *cred, int *privused));
int vaccess_acl_posix1e __P((enum vtype type, uid_t file_uid,
gid_t file_gid, struct acl *acl, mode_t acc_mode,
struct ucred *cred, int *privused));
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message