From 3a233b827783151c4c08985224782f1dcce43a8f Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Sun, 8 Apr 2007 01:12:44 +0100 Subject: Mark various private arrays, structs & fn parameters as static and/or const. Two of the modified files are headers, but each contains definitions as well as declarations and is only ever used once. --- src/post/audio/upmix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/post/audio/upmix.c') diff --git a/src/post/audio/upmix.c b/src/post/audio/upmix.c index 76c9afe58..975d8b79e 100644 --- a/src/post/audio/upmix.c +++ b/src/post/audio/upmix.c @@ -57,7 +57,7 @@ typedef struct{ } biquad_t; /* S-parameters for designing 4th order Butterworth filter */ -static biquad_t s_param[2] = {{{1.0,0.0,0.0},{1.0,0.765367,1.0}}, +static const biquad_t s_param[2] = {{{1.0,0.0,0.0},{1.0,0.765367,1.0}}, {{1.0,0.0,0.0},{1.0,1.847759,1.0}}}; /* Data for specific instances of this filter */ -- cgit v1.2.3