]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
audiod.c: Make slots[] static.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 27 May 2025 23:28:02 +0000 (01:28 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 28 May 2025 16:55:03 +0000 (18:55 +0200)
It's only used in audiod.c.

audiod.c

index 013737ad66c6f1e017cf7cee336d038ff07b85d9..bdf8b713d9465510c3230833e20cad1750935ac6 100644 (file)
--- 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 {