From: Andre Noll Date: Thu, 5 Sep 2013 04:52:18 +0000 (+0000) Subject: audiod: Make command array static. X-Git-Tag: v0.5.1~11^2~10 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=f45bc689c3189413f22f287434d2992a88a916da audiod: Make command array static. This array is only used in audiod_command.c. --- diff --git a/audiod_command.c b/audiod_command.c index b49d659e..7b69e1ab 100644 --- a/audiod_command.c +++ b/audiod_command.c @@ -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++)