Module: kamailio Branch: master Commit: 3b157cd3c59fa8beb9a2e2d91af8147c4114bfba URL: https://github.com/kamailio/kamailio/commit/3b157cd3c59fa8beb9a2e2d91af8147c...
Author: Victor Seva linuxmaniac@torreviejawireless.org Committer: Victor Seva linuxmaniac@torreviejawireless.org Date: 2018-12-27T10:10:49+01:00
cfgt: clang-format changes
---
Modified: src/modules/cfgt/cfgt_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/3b157cd3c59fa8beb9a2e2d91af8147c... Patch: https://github.com/kamailio/kamailio/commit/3b157cd3c59fa8beb9a2e2d91af8147c...
---
diff --git a/src/modules/cfgt/cfgt_mod.c b/src/modules/cfgt/cfgt_mod.c index aedd2e4e94..8806d0c8b8 100644 --- a/src/modules/cfgt/cfgt_mod.c +++ b/src/modules/cfgt/cfgt_mod.c @@ -42,20 +42,24 @@ unsigned int init_flag = 0; extern int cfgt_mask; extern str cfgt_basedir; extern str cfgt_hdr_prefix; - +/* clang-format off */ /*! \brief * Exported functions */ static cmd_export_t cmds[] = { - {"cfgt_bind_cfgt", (cmd_function)bind_cfgt, 1, 0, 0, 0}, - {0, 0, 0, 0, 0, 0}}; + {"cfgt_bind_cfgt", (cmd_function)bind_cfgt, 1, 0, 0, 0}, + {0, 0, 0, 0, 0, 0} +};
/*! \brief * Exported parameters */ -static param_export_t params[] = {{"basedir", PARAM_STR, &cfgt_basedir}, - {"mask", INT_PARAM, &cfgt_mask}, - {"callid_prefix", PARAM_STR, &cfgt_hdr_prefix}, {0, 0, 0}}; +static param_export_t params[] = { + {"basedir", PARAM_STR, &cfgt_basedir}, + {"mask", INT_PARAM, &cfgt_mask}, + {"callid_prefix", PARAM_STR, &cfgt_hdr_prefix}, + {0, 0, 0} +};
struct module_exports exports = { "cfgt", /* module name */ @@ -69,7 +73,7 @@ struct module_exports exports = { child_init, /* per-child init function */ destroy /* module destroy function */ }; - +/* clang-format on */ /*! \brief * Module initialization function */ @@ -102,5 +106,4 @@ static int child_init(int _rank) * Module destroy function */ static void destroy(void) -{ -} +{}