summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1997-02-12 07:54:22 +0000
committermpp <mpp@FreeBSD.org>1997-02-12 07:54:22 +0000
commit11081f2076f2e8a5c37cee8e3755af7610427aec (patch)
treeb4d0346c60d054956fc9fc1573835f522e0ccdcb /sys/kern
parent52a8abc65e6042c9504934b834e1d247bf3b63bb (diff)
downloadFreeBSD-src-11081f2076f2e8a5c37cee8e3755af7610427aec.zip
FreeBSD-src-11081f2076f2e8a5c37cee8e3755af7610427aec.tar.gz
Add function protypes for the new Lite2 unionfs functions.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_extattr.c8
-rw-r--r--sys/kern/vfs_syscalls.c8
2 files changed, 0 insertions, 16 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c
index f1742ca..ec94eb4 100644
--- a/sys/kern/vfs_extattr.c
+++ b/sys/kern/vfs_extattr.c
@@ -65,11 +65,9 @@
#include <sys/malloc.h>
#include <sys/dirent.h>
-/* see if this is needed XXX JH
#ifdef UNION
#include <miscfs/union/union.h>
#endif
-*/
#include <vm/vm.h>
#include <vm/vm_param.h>
@@ -2498,9 +2496,6 @@ unionread:
#ifdef UNION
{
- extern int (**union_vnodeop_p)();
- extern struct vnode *union_dircache __P((struct vnode*, struct proc*));
-
if ((SCARG(uap, count) == auio.uio_resid) &&
(vp->v_op == union_vnodeop_p)) {
struct vnode *lvp;
@@ -2612,9 +2607,6 @@ unionread:
#ifdef UNION
{
- extern int (**union_vnodeop_p)();
- extern struct vnode *union_dircache __P((struct vnode*, struct proc*));
-
if ((SCARG(uap, count) == auio.uio_resid) &&
(vp->v_op == union_vnodeop_p)) {
struct vnode *lvp;
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index f1742ca..ec94eb4 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -65,11 +65,9 @@
#include <sys/malloc.h>
#include <sys/dirent.h>
-/* see if this is needed XXX JH
#ifdef UNION
#include <miscfs/union/union.h>
#endif
-*/
#include <vm/vm.h>
#include <vm/vm_param.h>
@@ -2498,9 +2496,6 @@ unionread:
#ifdef UNION
{
- extern int (**union_vnodeop_p)();
- extern struct vnode *union_dircache __P((struct vnode*, struct proc*));
-
if ((SCARG(uap, count) == auio.uio_resid) &&
(vp->v_op == union_vnodeop_p)) {
struct vnode *lvp;
@@ -2612,9 +2607,6 @@ unionread:
#ifdef UNION
{
- extern int (**union_vnodeop_p)();
- extern struct vnode *union_dircache __P((struct vnode*, struct proc*));
-
if ((SCARG(uap, count) == auio.uio_resid) &&
(vp->v_op == union_vnodeop_p)) {
struct vnode *lvp;
OpenPOWER on IntegriCloud