From: Andre Noll Date: Thu, 5 Sep 2013 05:28:27 +0000 (+0000) Subject: command: Make server_cmds[] and afs_cmds[] static. X-Git-Tag: v0.5.1~16 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=5a4b74486c7421fa666aa20d6bb2cfc900976264;ds=sidebyside command: Make server_cmds[] and afs_cmds[] static. These arrays are only used in command.c. --- 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