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:
Elizabeth Myers 2016-03-09 01:29:41 -06:00
parent 6287d57fa9
commit eeabf33a7c
127 changed files with 400 additions and 342 deletions

View file

@ -38,6 +38,9 @@
#include "modules.h"
#include "sslproc.h"
static const char connect_desc[] =
"Provides the CONNECT command to introduce servers to the network";
static int mo_connect(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
static int ms_connect(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
@ -48,9 +51,6 @@ struct Message connect_msgtab = {
mapi_clist_av1 connect_clist[] = { &connect_msgtab, NULL };
static const char connect_desc[] =
"Provides the CONNECT command to introduce servers to the network";
DECLARE_MODULE_AV2(connect, NULL, NULL, connect_clist, NULL, NULL, NULL, NULL, connect_desc);
/*