From 5a4b74486c7421fa666aa20d6bb2cfc900976264 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 5 Sep 2013 05:28:27 +0000 Subject: [PATCH] command: Make server_cmds[] and afs_cmds[] static. These arrays are only used in command.c. --- command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command.c b/command.c index 4bbf494c..9f349ee5 100644 --- a/command.c +++ b/command.c @@ -35,8 +35,8 @@ #include "signal.h" #include "version.h" -struct server_command afs_cmds[] = {DEFINE_AFS_CMD_ARRAY}; -struct server_command server_cmds[] = {DEFINE_SERVER_CMD_ARRAY}; +static struct server_command afs_cmds[] = {DEFINE_AFS_CMD_ARRAY}; +static struct server_command server_cmds[] = {DEFINE_SERVER_CMD_ARRAY}; /** Commands including options must be shorter than this. */ #define MAX_COMMAND_LEN 32768 -- 2.39.2