Date: Fri, 24 Apr 2026 22:07:23 +0000 From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 45a12d8a2656 - main - Revert "speaker(4): move static data to bss" Message-ID: <69ebe99b.3fdd7.450b470b@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=45a12d8a2656bdf38e95f8e481c72aea0db6997f commit 45a12d8a2656bdf38e95f8e481c72aea0db6997f Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2026-04-24 22:04:14 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2026-04-24 22:04:14 +0000 Revert "speaker(4): move static data to bss" This reverts commit 690ef95b3354ac7a80aa469fa7a8f15f07962f83. The commit message was wrong. --- sys/dev/speaker/spkr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c index d6ae47fdae99..1280def98e79 100644 --- a/sys/dev/speaker/spkr.c +++ b/sys/dev/speaker/spkr.c @@ -158,7 +158,7 @@ struct spkr_state { #define DENOM_MULT 2 /* denominator of dot multiplier */ /* letter to half-tone: A B C D E F G */ -static const int notetab[8] = {9, 11, 0, 2, 4, 5, 7}; +static int notetab[8] = {9, 11, 0, 2, 4, 5, 7}; /* * This is the American Standard A440 Equal-Tempered scale with frequencies @@ -166,7 +166,7 @@ static const int notetab[8] = {9, 11, 0, 2, 4, 5, 7}; * our octave 0 is standard octave 2. */ #define OCTAVE_NOTES 12 /* semitones per octave */ -static const int pitchtab[] = +static int pitchtab[] = { /* C C# D D# E F F# G G# A A# B*/ /* 0 */ 65, 69, 73, 78, 82, 87, 93, 98, 103, 110, 117, 123,home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ebe99b.3fdd7.450b470b>
