summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2003-08-11 10:34:06 +0000
committermickey <mickey@openbsd.org>2003-08-11 10:34:06 +0000
commit3a5dabadedb2593bd5e48dc4c496fdc67757ec85 (patch)
tree559110f7f129255c81d187671932a0f673107c6c
parentconstify constant targets (diff)
downloadwireguard-openbsd-3a5dabadedb2593bd5e48dc4c496fdc67757ec85.tar.xz
wireguard-openbsd-3a5dabadedb2593bd5e48dc4c496fdc67757ec85.zip
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}},