diff options
-rw-r--r-- | sys/isofs/cd9660/cd9660_node.c | 4 | ||||
-rw-r--r-- | sys/kern/subr_prf.c | 4 | ||||
-rw-r--r-- | sys/kern/vfs_bio.c | 4 | ||||
-rw-r--r-- | sys/net/raw_cb.c | 3 | ||||
-rw-r--r-- | sys/net/raw_cb.h | 4 | ||||
-rw-r--r-- | sys/nfs/nfs_bio.c | 3 | ||||
-rw-r--r-- | sys/nfs/nfsnode.h | 4 |
7 files changed, 14 insertions, 12 deletions
diff --git a/sys/isofs/cd9660/cd9660_node.c b/sys/isofs/cd9660/cd9660_node.c index 8d973610423..30d7f1ccedf 100644 --- a/sys/isofs/cd9660/cd9660_node.c +++ b/sys/isofs/cd9660/cd9660_node.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd9660_node.c,v 1.12 2002/03/14 01:27:03 millert Exp $ */ +/* $OpenBSD: cd9660_node.c,v 1.13 2003/05/13 02:09:46 jason Exp $ */ /* $NetBSD: cd9660_node.c,v 1.17 1997/05/05 07:13:57 mycroft Exp $ */ /*- @@ -72,7 +72,7 @@ u_long idvhash; #define DNOHASH(device, inum) (((device) + ((inum)>>12)) & idvhash) #endif -int prtactive; /* 1 => print out reclaim of active vnodes */ +extern int prtactive; /* 1 => print out reclaim of active vnodes */ static u_int cd9660_chars2ui(u_char *, int); diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index 1ee17c7d8de..6765daa2685 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_prf.c,v 1.48 2003/05/10 21:44:53 deraadt Exp $ */ +/* $OpenBSD: subr_prf.c,v 1.49 2003/05/13 02:09:46 jason Exp $ */ /* $NetBSD: subr_prf.c,v 1.45 1997/10/24 18:14:25 chuck Exp $ */ /*- @@ -105,7 +105,7 @@ void kputchar(int, int, struct tty *); * globals */ -struct tty *constty; /* pointer to console "window" tty */ +extern struct tty *constty; /* pointer to console "window" tty */ int consintr = 1; /* ok to handle console interrupts? */ extern int log_open; /* subr_log: is /dev/klog open? */ const char *panicstr; /* arg to first call to panic (used as a flag diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 39e787680a4..b25460f8487 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_bio.c,v 1.65 2002/06/09 04:34:12 art Exp $ */ +/* $OpenBSD: vfs_bio.c,v 1.66 2003/05/13 02:09:46 jason Exp $ */ /* $NetBSD: vfs_bio.c,v 1.44 1996/06/11 11:15:36 pk Exp $ */ /*- @@ -92,7 +92,7 @@ u_long bufhash; TAILQ_HEAD(bqueues, buf) bufqueues[BQUEUES]; int needbuffer; int nobuffers; -struct bio_ops bioops; +extern struct bio_ops bioops; /* * Buffer pool for I/O buffers. diff --git a/sys/net/raw_cb.c b/sys/net/raw_cb.c index 0960d96f7da..b62879d546d 100644 --- a/sys/net/raw_cb.c +++ b/sys/net/raw_cb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raw_cb.c,v 1.2 1996/03/03 21:07:16 niklas Exp $ */ +/* $OpenBSD: raw_cb.c,v 1.3 2003/05/13 02:09:47 jason Exp $ */ /* $NetBSD: raw_cb.c,v 1.9 1996/02/13 22:00:39 christos Exp $ */ /* @@ -61,6 +61,7 @@ u_long raw_sendspace = RAWSNDQ; u_long raw_recvspace = RAWRCVQ; +struct rawcbhead rawcb; /* * Allocate a control block and a nominal amount diff --git a/sys/net/raw_cb.h b/sys/net/raw_cb.h index 34531bec4e1..6af833bb560 100644 --- a/sys/net/raw_cb.h +++ b/sys/net/raw_cb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: raw_cb.h,v 1.4 2002/03/14 01:27:10 millert Exp $ */ +/* $OpenBSD: raw_cb.h,v 1.5 2003/05/13 02:09:47 jason Exp $ */ /* $NetBSD: raw_cb.h,v 1.9 1996/02/13 22:00:41 christos Exp $ */ /* @@ -60,7 +60,7 @@ struct rawcb { #define RAWRCVQ 8192 #ifdef _KERNEL -LIST_HEAD(, rawcb) rawcb; /* head of list */ +extern LIST_HEAD(rawcbhead, rawcb) rawcb; /* head of list */ int raw_attach(struct socket *, int); void *raw_ctlinput(int, struct sockaddr *, void *); diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c index 3bdea53c9c0..97551eae532 100644 --- a/sys/nfs/nfs_bio.c +++ b/sys/nfs/nfs_bio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_bio.c,v 1.36 2002/05/21 21:07:09 art Exp $ */ +/* $OpenBSD: nfs_bio.c,v 1.37 2003/05/13 02:09:47 jason Exp $ */ /* $NetBSD: nfs_bio.c,v 1.25.4.2 1996/07/08 20:47:04 jtc Exp $ */ /* @@ -63,6 +63,7 @@ extern struct proc *nfs_iodwant[NFS_MAXASYNCDAEMON]; extern int nfs_numasync; struct nfsstats nfsstats; +struct nfs_bufqhead nfs_bufq; /* * Vnode op for read using bio diff --git a/sys/nfs/nfsnode.h b/sys/nfs/nfsnode.h index d9d4e7e4d0f..1a43d29bd43 100644 --- a/sys/nfs/nfsnode.h +++ b/sys/nfs/nfsnode.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsnode.h,v 1.16 2002/03/14 01:27:13 millert Exp $ */ +/* $OpenBSD: nfsnode.h,v 1.17 2003/05/13 02:09:47 jason Exp $ */ /* $NetBSD: nfsnode.h,v 1.16 1996/02/18 11:54:04 fvdl Exp $ */ /* @@ -148,7 +148,7 @@ struct nfsnode { /* * Queue head for nfsiod's */ -TAILQ_HEAD(, buf) nfs_bufq; +extern TAILQ_HEAD(nfs_bufqhead, buf) nfs_bufq; #ifdef _KERNEL /* |