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
|
@ -41,8 +41,10 @@
|
|||
#include "parse.h"
|
||||
#include "modules.h"
|
||||
|
||||
static const char encap_desc[] = "Provides the TS6 ENCAP facility";
|
||||
|
||||
static int ms_encap(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p,
|
||||
int parc, const char *parv[]);
|
||||
int parc, const char *parv[]);
|
||||
|
||||
struct Message encap_msgtab = {
|
||||
"ENCAP", 0, 0, 0, 0,
|
||||
|
@ -51,8 +53,6 @@ struct Message encap_msgtab = {
|
|||
|
||||
mapi_clist_av1 encap_clist[] = { &encap_msgtab, NULL };
|
||||
|
||||
static const char encap_desc[] = "Provides the TS6 ENCAP facility";
|
||||
|
||||
DECLARE_MODULE_AV2(encap, NULL, NULL, encap_clist, NULL, NULL, NULL, NULL, encap_desc);
|
||||
|
||||
/* ms_encap()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue