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

@ -42,8 +42,11 @@
#include "modules.h"
#include "logger.h"
static const char operspy_desc[] =
"Provides the operspy facility for viewing normally private data";
static int ms_operspy(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p,
int parc, const char *parv[]);
int parc, const char *parv[]);
struct Message operspy_msgtab = {
"OPERSPY", 0, 0, 0, 0,
@ -52,9 +55,6 @@ struct Message operspy_msgtab = {
mapi_clist_av1 operspy_clist[] = { &operspy_msgtab, NULL };
static const char operspy_desc[] =
"Provides the operspy facility for viewing normally private data";
DECLARE_MODULE_AV2(operspy, NULL, NULL, operspy_clist, NULL, NULL, NULL, NULL, operspy_desc);
/* ms_operspy()