Skip to content

Commit

Permalink
rtjson: 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 bc046a1)
  • Loading branch information
linuxmaniac authored and miconda committed Jan 8, 2020
1 parent fb368f2 commit f57c9fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/rtjson/rtjson_mod.c
Expand Up @@ -228,6 +228,7 @@ static int ki_rtjson_update_branch(sip_msg_t *msg)
/**
*
*/
/* clang-format off */
static sr_kemi_t sr_kemi_rtjson_exports[] = {
{ str_init("rtjson"), str_init("init_routes"),
SR_KEMIP_INT, ki_rtjson_init_routes,
Expand All @@ -252,6 +253,7 @@ static sr_kemi_t sr_kemi_rtjson_exports[] = {

{ {0, 0}, {0, 0}, 0, NULL, { 0, 0, 0, 0, 0, 0 } }
};
/* clang-format on */

/**
*
Expand Down

0 comments on commit f57c9fb

Please sign in to comment.