From 00f43e1364124724c4a6c5eabfff8826d74b4831 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 28 May 2025 01:28:02 +0200 Subject: [PATCH] audiod.c: Make slots[] static. It's only used in audiod.c. --- audiod.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/audiod.c b/audiod.c index 013737ad..bdf8b713 100644 --- a/audiod.c +++ b/audiod.c @@ -99,12 +99,11 @@ struct slot_info { /** Iterate over all slots. */ #define FOR_EACH_SLOT(_slot) for (_slot = 0; _slot < MAX_STREAM_SLOTS; _slot++) -/** - * para_audiod uses \p MAX_STREAM_SLOTS different slots, each of which may - * be associated with a receiver/filter/writer triple. This array holds all - * information on the status of these slots. +/* + * para_audiod maintains MAX_STREAM_SLOTS different slots, each of which may + * be associated with a receiver/filter/writer triple. */ -struct slot_info slot[MAX_STREAM_SLOTS]; +static struct slot_info slot[MAX_STREAM_SLOTS]; /** The vss status flags audiod is interested in. */ enum vss_status_flags { -- 2.39.5