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/nfsserver | |
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/nfsserver')
-rw-r--r-- | sys/nfsserver/nfs_srvsock.c | 4 | ||||
-rw-r--r-- | sys/nfsserver/nfs_srvsubs.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/nfsserver/nfs_srvsock.c b/sys/nfsserver/nfs_srvsock.c index 27c4561..ccd187a 100644 --- a/sys/nfsserver/nfs_srvsock.c +++ b/sys/nfsserver/nfs_srvsock.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_socket.c 8.3 (Berkeley) 1/12/94 - * $Id: nfs_socket.c,v 1.4 1994/10/02 17:26:59 phk Exp $ + * $Id: nfs_socket.c,v 1.5 1994/10/17 17:47:35 phk Exp $ */ /* @@ -68,8 +68,6 @@ #include <nfs/nfsrtt.h> #include <nfs/nqnfs.h> -#include <machine/clock.h> /* for inittodr */ - #define TRUE 1 #define FALSE 0 diff --git a/sys/nfsserver/nfs_srvsubs.c b/sys/nfsserver/nfs_srvsubs.c index d1c11c4..03b0b03 100644 --- a/sys/nfsserver/nfs_srvsubs.c +++ b/sys/nfsserver/nfs_srvsubs.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_subs.c 8.3 (Berkeley) 1/4/94 - * $Id: nfs_subs.c,v 1.10 1995/02/15 03:40:00 davidg Exp $ + * $Id: nfs_subs.c,v 1.11 1995/02/15 04:21:32 phk Exp $ */ /* @@ -690,7 +690,6 @@ nfs_loadattrcache(vpp, mdp, dposp, vaper) register struct vnode *vp = *vpp; register struct vattr *vap; register struct nfsv2_fattr *fp; - extern int (**spec_nfsv2nodeop_p)(); register struct nfsnode *np; register struct nfsnodehashhead *nhpp; register long t1; @@ -736,7 +735,6 @@ nfs_loadattrcache(vpp, mdp, dposp, vaper) else vp->v_type = vtyp; if (vp->v_type == VFIFO) { - extern int (**fifo_nfsv2nodeop_p)(); vp->v_op = fifo_nfsv2nodeop_p; } if (vp->v_type == VCHR || vp->v_type == VBLK) { |