Skip to content

Commit

Permalink
sl: 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 af9cdfb)
  • Loading branch information
linuxmaniac authored and miconda committed Jan 8, 2020
1 parent 480095d commit b170db2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/sl/sl.c
Expand Up @@ -601,6 +601,7 @@ static int bind_sl(sl_api_t* api)
/**
*
*/
/* clang-format off */
static sr_kemi_t sl_kemi_exports[] = {
{ str_init("sl"), str_init("sl_send_reply"),
SR_KEMIP_INT, sl_send_reply_str,
Expand All @@ -625,6 +626,7 @@ static sr_kemi_t sl_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 b170db2

Please sign in to comment.