diff --git a/sys/coda/coda_vnops.c b/sys/coda/coda_vnops.c index a9da56b221b..3c3eee9a95a 100644 --- a/sys/coda/coda_vnops.c +++ b/sys/coda/coda_vnops.c @@ -95,6 +95,7 @@ int coda_vnop_print_entry = 0; static int coda_lockdebug = 0; /* Definition of the vfs operation vector */ +static int (**coda_vnodeop_p)(void *); /* * Some NetBSD details: diff --git a/sys/coda/coda_vnops.h b/sys/coda/coda_vnops.h index 663d3572abe..99392d64dac 100644 --- a/sys/coda/coda_vnops.h +++ b/sys/coda/coda_vnops.h @@ -79,8 +79,6 @@ int coda_vop_error __P((void *)); int coda_vop_nop __P((void *)); int coda_fbsd_getpages __P((void *)); -int (**coda_vnodeop_p)(void *); - int coda_rdwr(struct vnode *vp, struct uio *uiop, enum uio_rw rw, int ioflag, struct ucred *cred, struct thread *td); int coda_grab_vnode(dev_t dev, ino_t ino, struct vnode **vpp); diff --git a/sys/fs/coda/coda_vnops.c b/sys/fs/coda/coda_vnops.c index a9da56b221b..3c3eee9a95a 100644 --- a/sys/fs/coda/coda_vnops.c +++ b/sys/fs/coda/coda_vnops.c @@ -95,6 +95,7 @@ int coda_vnop_print_entry = 0; static int coda_lockdebug = 0; /* Definition of the vfs operation vector */ +static int (**coda_vnodeop_p)(void *); /* * Some NetBSD details: diff --git a/sys/fs/coda/coda_vnops.h b/sys/fs/coda/coda_vnops.h index 663d3572abe..99392d64dac 100644 --- a/sys/fs/coda/coda_vnops.h +++ b/sys/fs/coda/coda_vnops.h @@ -79,8 +79,6 @@ int coda_vop_error __P((void *)); int coda_vop_nop __P((void *)); int coda_fbsd_getpages __P((void *)); -int (**coda_vnodeop_p)(void *); - int coda_rdwr(struct vnode *vp, struct uio *uiop, enum uio_rw rw, int ioflag, struct ucred *cred, struct thread *td); int coda_grab_vnode(dev_t dev, ino_t ino, struct vnode **vpp);