From df90f5510a057d77a486a1b667f91ff63ad17fd2 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Tue, 16 Dec 2008 21:48:53 +0000 Subject: [PATCH] irix-prototype-fixage-20081216 LICENSE IPL10 more cleanup to make prototypes match functions on irix --- src/afs/IRIX/osi_vnodeops.c | 6 +++++- src/afs/afs_prototypes.h | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/afs/IRIX/osi_vnodeops.c b/src/afs/IRIX/osi_vnodeops.c index e673b8952..7bad6c8d0 100644 --- a/src/afs/IRIX/osi_vnodeops.c +++ b/src/afs/IRIX/osi_vnodeops.c @@ -679,7 +679,11 @@ afsrwvp(register struct vcache *avc, register struct uio *uio, enum uio_rw rw, #ifdef AFS_SGI61_ENV if (((ioflag & IO_SYNC) || (ioflag & IO_DSYNC)) && (rw == UIO_WRITE) && !AFS_NFSXLATORREQ(cr)) { - error = afs_fsync(avc, 0, cr); + error = afs_fsync(avc, 0, cr +#ifdef AFS_SGI65_ENV + , 0, 0 +#endif + ); } #else /* AFS_SGI61_ENV */ if ((ioflag & IO_SYNC) && (rw == UIO_WRITE) && !AFS_NFSXLATORREQ(cr)) { diff --git a/src/afs/afs_prototypes.h b/src/afs/afs_prototypes.h index 576831914..39d76b17a 100644 --- a/src/afs/afs_prototypes.h +++ b/src/afs/afs_prototypes.h @@ -640,6 +640,10 @@ extern int afs_syscall_icreate(dev_t, long, long, long, long, long, extern int afs_syscall_iopen(dev_t, int, int, rval_t *, struct AFS_UCRED *); extern int afs_syscall_iincdec(dev_t, int, int, int, rval_t *, struct AFS_UCRED *); +#elif defined(AFS_SGI65_ENV) +extern int afs_syscall_icreate(afs_uint32, afs_uint32, afs_uint32, afs_uint32, afs_uint32, afs_uint32, rval_t *); +extern int afs_syscall_iopen(int, ino_t, int, rval_t *); +extern int afs_syscall_iincdec(int, int, int, int); #elif defined(AFS_OSF_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV) extern int afs_syscall_icreate(long, long, long, long, long, long, long*); extern int afs_syscall_iopen(int dev, int inode, int usrmod, long *retval); -- 2.39.5