diff options
author | bde <bde@FreeBSD.org> | 1995-03-16 18:17:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-03-16 18:17:34 +0000 |
commit | 289f11acb49b6dbb3081e09bf94a86f008f55814 (patch) | |
tree | e4952f18ac85eccbbd3d9b0f010098732d07fe6d /sys/kern/vfs_extattr.c | |
parent | 4c4945abee9eabe3a2be340ba973ae861c21a3c6 (diff) | |
download | FreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.zip FreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.tar.gz |
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
(except in netccitt, netiso and netns) and most of the warnings from
`gcc -Wnested-externs'. Fix all the bugs found. There were no serious
ones.
Diffstat (limited to 'sys/kern/vfs_extattr.c')
-rw-r--r-- | sys/kern/vfs_extattr.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index eef1fce..0596362 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94 - * $Id: vfs_syscalls.c,v 1.17 1995/02/13 13:45:04 davidg Exp $ + * $Id: vfs_syscalls.c,v 1.18 1995/02/28 02:52:48 davidg Exp $ */ #include <sys/param.h> @@ -53,6 +53,10 @@ #include <sys/malloc.h> #include <sys/dirent.h> +#ifdef UNION +#include <miscfs/union/union.h> +#endif + #include <vm/vm.h> #include <sys/sysctl.h> @@ -308,9 +312,6 @@ int syncprt = 0; struct ctldebug debug0 = { "syncprt", &syncprt }; #endif -struct sync_args { - int dummy; -}; /* ARGSUSED */ int sync(p, uap, retval) @@ -622,7 +623,6 @@ open(p, uap, retval) int type, indx, error; struct flock lf; struct nameidata nd; - extern struct fileops vnops; error = falloc(p, &nfp, &indx); if (error) @@ -2126,9 +2126,6 @@ unionread: #ifdef UNION { - extern int (**union_vnodeop_p)(); - extern struct vnode *union_lowervp __P((struct vnode *)); - if ((uap->count == auio.uio_resid) && (vp->v_op == union_vnodeop_p)) { struct vnode *tvp = vp; |