summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-01-26 22:23:04 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-01-26 22:23:04 +0000
commit24fc02beb0cf4960e5cb675ac60015097a816117 (patch)
tree79782a53e0fe88a7735bf76407a52726a0b889f9 /sys/dev
parent2d33b03502c8f683a8a98a3ec41e686f51510c98 (diff)
constify eisa_knowndevs
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/eisa/devlist2h.awk4
-rw-r--r--sys/dev/eisa/eisa.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/eisa/devlist2h.awk b/sys/dev/eisa/devlist2h.awk
index 159691c7923..140ee9124c9 100644
--- a/sys/dev/eisa/devlist2h.awk
+++ b/sys/dev/eisa/devlist2h.awk
@@ -1,5 +1,5 @@
#! /usr/bin/awk -f
-# $OpenBSD: devlist2h.awk,v 1.2 1996/04/21 22:20:18 deraadt Exp $
+# $OpenBSD: devlist2h.awk,v 1.3 2001/01/26 22:23:03 mickey Exp $
# $NetBSD: devlist2h.awk,v 1.2 1996/04/09 20:07:16 cgd Exp $
#
# Copyright (c) 1995, 1996 Christopher G. Demetriou
@@ -154,7 +154,7 @@ END {
printf("\n") > dfile
- printf("struct eisa_knowndev eisa_knowndevs[] = {\n") > dfile
+ printf("static const struct eisa_knowndev eisa_knowndevs[] = {\n") > dfile
for (i = 1; i <= nproducts; i++) {
printf("\t{\n") > dfile
printf("\t 0,\n") > dfile
diff --git a/sys/dev/eisa/eisa.c b/sys/dev/eisa/eisa.c
index 6370068da23..82669bae2be 100644
--- a/sys/dev/eisa/eisa.c
+++ b/sys/dev/eisa/eisa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eisa.c,v 1.7 2000/04/14 03:29:01 smurph Exp $ */
+/* $OpenBSD: eisa.c,v 1.8 2001/01/26 22:23:03 mickey Exp $ */
/* $NetBSD: eisa.c,v 1.15 1996/10/21 22:31:01 thorpej Exp $ */
/*
@@ -237,7 +237,7 @@ eisa_devinfo(id, cp)
const char *name;
int onlyvendor;
#ifdef EISAVERBOSE
- struct eisa_knowndev *edp;
+ const struct eisa_knowndev *edp;
int match;
const char *unmatched = "unknown ";
#else