Module: kamailio
Branch: master
Commit: 802bee7c205d402f6bdc3ba9c4210966ea758506
URL:
https://github.com/kamailio/kamailio/commit/802bee7c205d402f6bdc3ba9c421096…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)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/802bee7c205d402f6bdc3ba9c421096…
Patch:
https://github.com/kamailio/kamailio/commit/802bee7c205d402f6bdc3ba9c421096…
---
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