X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Ffnet-dc.c;h=ee5e423977e8fd8e7316fba99569ad2b004850e2;hb=8b93008567ad48a8c79d57da3ea27e91d7173472;hp=a37918f532748885a02915b9a7cae53353c8235d;hpb=c8a729d72dfda116361913464e023f0cea6f269a;p=doldaconnect.git 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)},