Make {hub,peer}cmds static as they should be.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Thu, 16 Nov 2006 02:50:12 +0000 (02:50 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Thu, 16 Nov 2006 02:50:12 +0000 (02:50 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@739 959494ce-11ee-0310-bf91-de5d638817bd

daemon/fnet-dc.c

index a37918f..ee5e423 100644 (file)
@@ -2540,7 +2540,7 @@ static int hubsearch(struct fnetnode *fn, struct search *srch, struct srchfnnlis
 #undef qstrf
 
 #define cc(c) ((void (*)(struct socket *, void *, char *, char *))(c))
-struct command hubcmds[] =
+static struct command hubcmds[] =
 {
     {"$Lock", cc(cmd_lock)},
     {"$HubName", cc(cmd_hubname)},
@@ -2563,7 +2563,7 @@ struct command hubcmds[] =
     {NULL, NULL}
 };
 
-struct command peercmds[] =
+static struct command peercmds[] =
 {
     {"$MyNick", cc(cmd_mynick)},
     {"$Lock", cc(cmd_peerlock)},