diff --git a/apps/dsp.c b/apps/dsp.c index 7292328212..9f53676e1c 100644 --- a/apps/dsp.c +++ b/apps/dsp.c @@ -218,8 +218,8 @@ static int treble; /* A/V */ /* Settings applicable to audio codec only */ static int32_t pitch_ratio = PITCH_SPEED_100; static int channels_mode; - long dsp_sw_gain; - long dsp_sw_cross; +static long dsp_sw_gain; +static long dsp_sw_cross; static bool dither_enabled; static long eq_precut; static long track_gain; diff --git a/apps/talk.c b/apps/talk.c index c7a7eab50a..b816d8e11c 100644 --- a/apps/talk.c +++ b/apps/talk.c @@ -120,8 +120,8 @@ static bool force_enqueue_next; /* enqueue next utterance even if enqueue is fal static int queue_write; /* write index of queue, by application */ static int queue_read; /* read index of queue, by ISR context */ #if CONFIG_CODEC == SWCODEC -struct mutex queue_mutex SHAREDBSS_ATTR; /* protects queue_read, queue_write - and thumbnail_buf_used */ +/* protects queue_read, queue_write and thumbnail_buf_used */ +static struct mutex queue_mutex SHAREDBSS_ATTR; #define talk_queue_lock() ({ mutex_lock(&queue_mutex); }) #define talk_queue_unlock() ({ mutex_unlock(&queue_mutex); }) #else