]> git.tue.mpg.de Git - paraslash.git/commitdiff
command: Make server_cmds[] and afs_cmds[] static.
authorAndre Noll <maan@systemlinux.org>
Thu, 5 Sep 2013 05:28:27 +0000 (05:28 +0000)
committerAndre Noll <maan@systemlinux.org>
Wed, 11 Sep 2013 22:19:49 +0000 (22:19 +0000)
These arrays are only used in command.c.

command.c

index 4bbf494c869b6938b596dbf9dcf45b9613fbf924..9f349ee5353c6df5736db1cd2d9c2e115c933248 100644 (file)
--- 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