macos-103-20051201

last fixes i swear
This commit is contained in:
Derrick Brashear 2005-12-01 07:36:35 +00:00
parent 3cccddb31f
commit 49f0f7bb0e
2 changed files with 1 additions and 14 deletions

View File

@ -63,11 +63,7 @@ afs_InitDualFSCacheOps(struct vnode *vp)
} }
ino_t ino_t
#ifdef AFS_DARWIN80_ENV
VnodeToIno(vnode_t avp) VnodeToIno(vnode_t avp)
#else
VnodeToIno(vnode_t * avp)
#endif
{ {
unsigned long ret; unsigned long ret;
@ -104,11 +100,7 @@ VnodeToIno(vnode_t * avp)
dev_t dev_t
#ifdef AFS_DARWIN80_ENV
VnodeToDev(vnode_t avp) VnodeToDev(vnode_t avp)
#else
VnodeToDev(vnode_t * avp)
#endif
{ {
#ifndef AFS_DARWIN80_ENV #ifndef AFS_DARWIN80_ENV
if (afs_CacheFSType == AFS_APPL_UFS_CACHE) { if (afs_CacheFSType == AFS_APPL_UFS_CACHE) {

View File

@ -203,13 +203,8 @@ extern struct lock__bsd__ afs_global_lock;
#define AFS_APPL_UFS_CACHE 1 #define AFS_APPL_UFS_CACHE 1
#define AFS_APPL_HFS_CACHE 2 #define AFS_APPL_HFS_CACHE 2
#ifdef AFS_DARWIN80_ENV
extern ino_t VnodeToIno(vnode_t avp); extern ino_t VnodeToIno(vnode_t avp);
#else extern dev_t VnodeToDev(vnode_t vp);
extern ino_t VnodeToIno(vnode_t * avp);
#endif
extern dev_t VnodeToDev(struct vnode * vp);
extern int igetinode(mount_t vfsp, dev_t dev , ino_t inode, vnode_t *vpp, extern int igetinode(mount_t vfsp, dev_t dev , ino_t inode, vnode_t *vpp,
struct vattr *va, int *perror); struct vattr *va, int *perror);