diff options
author | bde <bde@FreeBSD.org> | 1996-04-13 12:18:45 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-04-13 12:18:45 +0000 |
commit | e97a7a15c60a5616debcd9cc097e3510d9eca133 (patch) | |
tree | b1651691b1fc4720f650a4e1fa25c32f8b71de65 /sys | |
parent | e09f62677a421d856ae544d2d06e7b6761097e5c (diff) | |
download | FreeBSD-src-e97a7a15c60a5616debcd9cc097e3510d9eca133.zip FreeBSD-src-e97a7a15c60a5616debcd9cc097e3510d9eca133.tar.gz |
Declared `unittab' as static. It was bogusly shared between the asc and
gsc drivers.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/i386/isa/asc.c | 6 | ||||
-rw-r--r-- | sys/i386/isa/gsc.c | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/sys/i386/isa/asc.c b/sys/i386/isa/asc.c index da8c7a2..bc15c25 100644 --- a/sys/i386/isa/asc.c +++ b/sys/i386/isa/asc.c @@ -34,7 +34,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* - * $Id: asc.c,v 1.17 1996/03/28 14:28:35 scrappy Exp $ + * $Id: asc.c,v 1.18 1996/04/08 19:40:54 smpatel Exp $ */ #include "asc.h" @@ -180,7 +180,9 @@ struct asc_unit { void *devfs_ascd; void *devfs_ascpd; #endif -} unittab[NASC]; +}; + +static struct asc_unit unittab[NASC]; /*** I could not find a reasonable buffer size limit other than by *** experiments. MAXPHYS is obviously too much, while DEV_BSIZE and diff --git a/sys/i386/isa/gsc.c b/sys/i386/isa/gsc.c index c92e3d0..430a44b 100644 --- a/sys/i386/isa/gsc.c +++ b/sys/i386/isa/gsc.c @@ -160,7 +160,9 @@ struct gsc_unit { void *devfs_gscd; void *devfs_gscpd; #endif -} unittab[NGSC]; +}; + +static struct gsc_unit unittab[NGSC]; /* I could not find a reasonable buffer size limit other than by * experiments. MAXPHYS is obviously too much, while DEV_BSIZE and |