Skip to content

Commit

Permalink
tm: add clang-format directives to skip format on kemi_exports
Browse files Browse the repository at this point in the history
format is important for generating docs by our python tool

(cherry picked from commit 6e7a441)
  • Loading branch information
linuxmaniac authored and miconda committed Jan 8, 2020
1 parent b170db2 commit 0eed9af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/tm/tm.c
Expand Up @@ -2902,6 +2902,7 @@ static int ki_t_relay_to_flags(sip_msg_t *msg, int rflags)
/**
*
*/
/* clang-format off */
static sr_kemi_t tm_kemi_exports[] = {
{ str_init("tm"), str_init("t_relay"),
SR_KEMIP_INT, ki_t_relay,
Expand Down Expand Up @@ -3151,7 +3152,7 @@ static sr_kemi_t tm_kemi_exports[] = {

{ {0, 0}, {0, 0}, 0, NULL, { 0, 0, 0, 0, 0, 0 } }
};

/* clang-format on */

int mod_register(char *path, int *dlflags, void *p1, void *p2)
{
Expand Down

0 comments on commit 0eed9af

Please sign in to comment.