From 8b93008567ad48a8c79d57da3ea27e91d7173472 Mon Sep 17 00:00:00 2001 From: fredrik Date: Thu, 16 Nov 2006 02:50:12 +0000 Subject: [PATCH] Make {hub,peer}cmds static as they should be. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@739 959494ce-11ee-0310-bf91-de5d638817bd --- daemon/fnet-dc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/fnet-dc.c b/daemon/fnet-dc.c index a37918f..ee5e423 100644 --- a/daemon/fnet-dc.c +++ b/daemon/fnet-dc.c @@ -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)}, -- 2.11.0