]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
audiod: Make command array static.
authorAndre Noll <maan@systemlinux.org>
Thu, 5 Sep 2013 04:52:18 +0000 (04:52 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 22 Sep 2013 00:29:18 +0000 (02:29 +0200)
This array is only used in audiod_command.c.

audiod_command.c

index b49d659e0ac0bd784b2002b941b3471540ee5ac9..7b69e1ab070198a52e33f4722188cba1a769dd2a 100644 (file)
@@ -30,7 +30,7 @@ extern struct sched sched;
 extern char *stat_item_values[NUM_STAT_ITEMS];
 
 
-struct audiod_command audiod_cmds[] = {DEFINE_AUDIOD_CMD_ARRAY};
+static struct audiod_command audiod_cmds[] = {DEFINE_AUDIOD_CMD_ARRAY};
 
 /** Iterate over the array of all audiod commands. */
 #define FOR_EACH_COMMAND(c) for (c = 0; audiod_cmds[c].name; c++)