From: Andre Noll Date: Tue, 27 May 2025 23:28:02 +0000 (+0200) Subject: audiod.c: Make slots[] static. X-Git-Url: https://git.tuebingen.mpg.de/?a=commitdiff_plain;h=00f43e1364124724c4a6c5eabfff8826d74b4831;p=paraslash.git audiod.c: Make slots[] static. It's only used in audiod.c. --- 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 {