From f45bc689c3189413f22f287434d2992a88a916da Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 5 Sep 2013 04:52:18 +0000 Subject: [PATCH] audiod: Make command array static. This array is only used in audiod_command.c. --- audiod_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) -- 2.39.2