Module: kamailio
Branch: master
Commit: 802bee7c205d402f6bdc3ba9c4210966ea758506
URL: 
https://github.com/kamailio/kamailio/commit/802bee7c205d402f6bdc3ba9c4210966ea758506

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2024-12-11T19:33:53+01:00

presence_mwi: reformat exported structures

---

Modified: src/modules/presence_mwi/presence_mwi.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/802bee7c205d402f6bdc3ba9c4210966ea758506.diff
Patch: 
https://github.com/kamailio/kamailio/commit/802bee7c205d402f6bdc3ba9c4210966ea758506.patch

---

diff --git a/src/modules/presence_mwi/presence_mwi.c 
b/src/modules/presence_mwi/presence_mwi.c
index 8024ad3d840..878c1a25527 100644
--- a/src/modules/presence_mwi/presence_mwi.c
+++ b/src/modules/presence_mwi/presence_mwi.c
@@ -62,26 +62,32 @@ add_event_t pres_add_event;
 /* module parameters */
 unsigned int pres_mwi_default_expires = 3600;
 
+/* clang-format off */
 /* module exported commands */
-static cmd_export_t cmds[] = {{0, 0, 0, 0, 0, 0}};
+static cmd_export_t cmds[] = {
+       {0, 0, 0, 0, 0, 0}
+};
 
 /* module exported parameters */
 static param_export_t params[] = {
-               {"default_expires", PARAM_INT, &pres_mwi_default_expires}, {0, 
0, 0}};
+       {"default_expires", PARAM_INT, &pres_mwi_default_expires},
+       {0, 0, 0}
+};
 
 /* module exports */
 struct module_exports exports = {
                "presence_mwi",  /* module name */
-               DEFAULT_DLFLAGS, /* dlopen flags */
-               cmds,                    /* exported functions */
-               params,                  /* exported parameters */
-               0,                               /* RPC method exports */
-               0,                               /* exported pseudo-variables */
-               0,                               /* response handling function 
*/
-               mod_init,                /* module initialization function */
-               0,                               /* per-child init function */
-               0                                /* module destroy function */
+       DEFAULT_DLFLAGS,    /* dlopen flags */
+       cmds,               /* exported functions */
+       params,             /* exported parameters */
+       0,                  /* RPC method exports */
+       0,                  /* exported pseudo-variables */
+       0,                  /* response handling function */
+       mod_init,           /* module initialization function */
+       0,                  /* per-child init function */
+       0                   /* module destroy function */
 };
+/* clang-format on */
 
 /*
  * init module function

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to