summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-11 10:34:07 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-11 10:34:07 +0000
commit0b8cd54109419930b23c3e70966f0202ac644f65 (patch)
tree051a8276127ead6dc14bb0f1b43cc0f4fcecd5cb
parent572974c346e5cce2dc2da4c43085b88799b5832b (diff)
constify voicetab
-rw-r--r--sys/dev/ic/opl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/opl.c b/sys/dev/ic/opl.c
index 13b07da12be..390615b9f0b 100644
--- a/sys/dev/ic/opl.c
+++ b/sys/dev/ic/opl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: opl.c,v 1.4 2003/04/27 11:22:52 ho Exp $ */
+/* $OpenBSD: opl.c,v 1.5 2003/08/11 10:34:06 mickey Exp $ */
/* $NetBSD: opl.c,v 1.7 1998/12/08 14:26:56 augustss Exp $ */
/*
@@ -80,7 +80,7 @@ struct real_voice {
u_int8_t op[4]; /* Operator offsets */
};
-struct opl_voice voicetab[] = {
+const struct opl_voice voicetab[] = {
/* No I/O offs OP1 OP2 OP3 OP4 */
/* --------------------------------------------------- */
{ 0, OPL_L, {0x00, 0x03, 0x08, 0x0b}},