diff options
author | bde <bde@FreeBSD.org> | 1997-09-07 16:56:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-09-07 16:56:34 +0000 |
commit | be65adf8887110675bdd0068ac58188f34cad94c (patch) | |
tree | 13b21871dc281edfe7cf0001636746a905671cb7 /sys | |
parent | ac6fcae00659510a52714511943684fcb2816467 (diff) | |
download | FreeBSD-src-be65adf8887110675bdd0068ac58188f34cad94c.zip FreeBSD-src-be65adf8887110675bdd0068ac58188f34cad94c.tar.gz |
Some staticized variables were still declared to be extern.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_bio.c | 6 | ||||
-rw-r--r-- | sys/sys/bio.h | 5 | ||||
-rw-r--r-- | sys/sys/buf.h | 5 |
3 files changed, 5 insertions, 11 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index fc991ad..a387804 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -18,7 +18,7 @@ * 5. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: vfs_bio.c,v 1.123 1997/08/21 01:35:37 dyson Exp $ + * $Id: vfs_bio.c,v 1.124 1997/08/26 04:36:16 dyson Exp $ */ /* @@ -140,8 +140,8 @@ SYSCTL_INT(_vfs, OID_AUTO, maxmallocbufspace, CTLFLAG_RW, SYSCTL_INT(_vfs, OID_AUTO, bufmallocspace, CTLFLAG_RD, &bufmallocspace, 0, ""); -static struct bufhashhdr bufhashtbl[BUFHSZ], invalhash; -static struct bqueues bufqueues[BUFFER_QUEUES]; +static LIST_HEAD(bufhashhdr, buf) bufhashtbl[BUFHSZ], invalhash; +static TAILQ_HEAD(bqueues, buf) bufqueues[BUFFER_QUEUES]; extern int vm_swap_size; diff --git a/sys/sys/bio.h b/sys/sys/bio.h index 8cb3c8c..19ec0d5 100644 --- a/sys/sys/bio.h +++ b/sys/sys/bio.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)buf.h 8.9 (Berkeley) 3/30/95 - * $Id: buf.h,v 1.38 1997/02/22 09:44:49 peter Exp $ + * $Id: buf.h,v 1.39 1997/06/15 17:56:53 dyson Exp $ */ #ifndef _SYS_BUF_H_ @@ -165,9 +165,6 @@ struct buf { */ #define BUFFER_QUEUES 6 /* number of free buffer queues */ -extern LIST_HEAD(bufhashhdr, buf) bufhashtbl[BUFHSZ], invalhash; -extern TAILQ_HEAD(bqueues, buf) bufqueues[BUFFER_QUEUES]; - #define QUEUE_NONE 0 /* on no queue */ #define QUEUE_LOCKED 1 /* locked buffers */ #define QUEUE_LRU 2 /* useful buffers */ diff --git a/sys/sys/buf.h b/sys/sys/buf.h index 8cb3c8c..19ec0d5 100644 --- a/sys/sys/buf.h +++ b/sys/sys/buf.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)buf.h 8.9 (Berkeley) 3/30/95 - * $Id: buf.h,v 1.38 1997/02/22 09:44:49 peter Exp $ + * $Id: buf.h,v 1.39 1997/06/15 17:56:53 dyson Exp $ */ #ifndef _SYS_BUF_H_ @@ -165,9 +165,6 @@ struct buf { */ #define BUFFER_QUEUES 6 /* number of free buffer queues */ -extern LIST_HEAD(bufhashhdr, buf) bufhashtbl[BUFHSZ], invalhash; -extern TAILQ_HEAD(bqueues, buf) bufqueues[BUFFER_QUEUES]; - #define QUEUE_NONE 0 /* on no queue */ #define QUEUE_LOCKED 1 /* locked buffers */ #define QUEUE_LRU 2 /* useful buffers */ |