Move module description headers to the top
This is cleaner. Note this was broken out of a much larger piece of work I did, so if there's any problems, I apologise!
This commit is contained in:
parent
6287d57fa9
commit
eeabf33a7c
127 changed files with 400 additions and 342 deletions
|
@ -31,6 +31,8 @@
|
|||
#include "parse.h"
|
||||
#include "modules.h"
|
||||
|
||||
static const char capab_desc[] = "Provides the commands used for server-to-server capability negotiation";
|
||||
|
||||
static int mr_capab(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static int me_gcap(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
|
||||
|
@ -45,8 +47,6 @@ struct Message gcap_msgtab = {
|
|||
|
||||
mapi_clist_av1 capab_clist[] = { &capab_msgtab, &gcap_msgtab, NULL };
|
||||
|
||||
static const char capab_desc[] = "Provides the commands used for server-to-server capability negotiation";
|
||||
|
||||
DECLARE_MODULE_AV2(capab, NULL, NULL, capab_clist, NULL, NULL, NULL, NULL, capab_desc);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue