summaryrefslogtreecommitdiffstats
path: root/sys/nfsserver
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-07-29 11:44:31 +0000
committerbde <bde@FreeBSD.org>1995-07-29 11:44:31 +0000
commit38a74a7bc23af4d5ed5deeff2f4ab6329b0a26cc (patch)
treeb89d1e0366b685acdcb1eb8c959a65e2e330cb0c /sys/nfsserver
parent795b455aacbca36da42882b1290f5d37f1618bfe (diff)
downloadFreeBSD-src-38a74a7bc23af4d5ed5deeff2f4ab6329b0a26cc.zip
FreeBSD-src-38a74a7bc23af4d5ed5deeff2f4ab6329b0a26cc.tar.gz
Eliminate sloppy common-style declarations. There should be none left for
the LINT configuation.
Diffstat (limited to 'sys/nfsserver')
-rw-r--r--sys/nfsserver/nfs.h12
-rw-r--r--sys/nfsserver/nfs_srvsubs.c12
-rw-r--r--sys/nfsserver/nfsrvstats.h12
3 files changed, 23 insertions, 13 deletions
diff --git a/sys/nfsserver/nfs.h b/sys/nfsserver/nfs.h
index e1a0f07..2a3b3de 100644
--- a/sys/nfsserver/nfs.h
+++ b/sys/nfsserver/nfs.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs.h 8.1 (Berkeley) 6/10/93
- * $Id: nfs.h,v 1.9 1995/02/14 06:22:18 phk Exp $
+ * $Id: nfs.h,v 1.10 1995/06/27 11:06:33 dfr Exp $
*/
#ifndef _NFS_NFS_H_
@@ -304,7 +304,7 @@ struct nfsreq {
/*
* Queue head for nfsreq's
*/
-TAILQ_HEAD(, nfsreq) nfs_reqq;
+extern TAILQ_HEAD(nfs_reqq, nfsreq) nfs_reqq;
/* Flag values for r_flags */
#define R_TIMING 0x01 /* timing request (in mntp) */
@@ -398,8 +398,8 @@ struct nfssvc_sock {
#define SLP_LASTFRAG 0x20
#define SLP_ALLFLAGS 0xff
-TAILQ_HEAD(, nfssvc_sock) nfssvc_sockhead;
-int nfssvc_sockhead_flag;
+extern TAILQ_HEAD(nfssvc_sockhead, nfssvc_sock) nfssvc_sockhead;
+extern int nfssvc_sockhead_flag;
#define SLP_INIT 0x01
#define SLP_WANTINIT 0x02
@@ -464,8 +464,8 @@ struct nfsrv_descript {
#define ND_KERBFULL 0x40
#define ND_KERBAUTH (ND_KERBNICK | ND_KERBFULL)
-TAILQ_HEAD(, nfsd) nfsd_head;
-int nfsd_head_flag;
+extern TAILQ_HEAD(nfsd_head, nfsd) nfsd_head;
+extern int nfsd_head_flag;
#define NFSD_CHECKSLP 0x01
/*
diff --git a/sys/nfsserver/nfs_srvsubs.c b/sys/nfsserver/nfs_srvsubs.c
index f01e1b0..4c6d4bb 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.20 1995/07/13 08:47:53 davidg Exp $
+ * $Id: nfs_subs.c,v 1.21 1995/07/20 09:43:12 davidg Exp $
*/
/*
@@ -94,6 +94,16 @@ enum vtype nv2tov_type[8] = { VNON, VREG, VDIR, VBLK, VCHR, VLNK, VNON, VNON };
enum vtype nv3tov_type[8]={ VNON, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK, VFIFO };
int nfs_ticks;
+struct nfs_reqq nfs_reqq;
+struct nfssvc_sockhead nfssvc_sockhead;
+int nfssvc_sockhead_flag;
+struct nfsd_head nfsd_head;
+int nfsd_head_flag;
+struct nfs_bufq nfs_bufq;
+struct nqtimerhead nqtimerhead;
+struct nqfhhashhead *nqfhhashtbl;
+u_long nqfhhash;
+
/*
* Mapping of old NFS Version 2 RPC numbers to generic numbers.
*/
diff --git a/sys/nfsserver/nfsrvstats.h b/sys/nfsserver/nfsrvstats.h
index e1a0f07..2a3b3de 100644
--- a/sys/nfsserver/nfsrvstats.h
+++ b/sys/nfsserver/nfsrvstats.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs.h 8.1 (Berkeley) 6/10/93
- * $Id: nfs.h,v 1.9 1995/02/14 06:22:18 phk Exp $
+ * $Id: nfs.h,v 1.10 1995/06/27 11:06:33 dfr Exp $
*/
#ifndef _NFS_NFS_H_
@@ -304,7 +304,7 @@ struct nfsreq {
/*
* Queue head for nfsreq's
*/
-TAILQ_HEAD(, nfsreq) nfs_reqq;
+extern TAILQ_HEAD(nfs_reqq, nfsreq) nfs_reqq;
/* Flag values for r_flags */
#define R_TIMING 0x01 /* timing request (in mntp) */
@@ -398,8 +398,8 @@ struct nfssvc_sock {
#define SLP_LASTFRAG 0x20
#define SLP_ALLFLAGS 0xff
-TAILQ_HEAD(, nfssvc_sock) nfssvc_sockhead;
-int nfssvc_sockhead_flag;
+extern TAILQ_HEAD(nfssvc_sockhead, nfssvc_sock) nfssvc_sockhead;
+extern int nfssvc_sockhead_flag;
#define SLP_INIT 0x01
#define SLP_WANTINIT 0x02
@@ -464,8 +464,8 @@ struct nfsrv_descript {
#define ND_KERBFULL 0x40
#define ND_KERBAUTH (ND_KERBNICK | ND_KERBFULL)
-TAILQ_HEAD(, nfsd) nfsd_head;
-int nfsd_head_flag;
+extern TAILQ_HEAD(nfsd_head, nfsd) nfsd_head;
+extern int nfsd_head_flag;
#define NFSD_CHECKSLP 0x01
/*
OpenPOWER on IntegriCloud