Skip to content

Commit

Permalink
htable: 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 c340ef0)
  • Loading branch information
linuxmaniac authored and miconda committed Jan 8, 2020
1 parent 7f14073 commit 24d7cf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/htable/htable.c
Expand Up @@ -1709,6 +1709,7 @@ static int htable_init_rpc(void)
/**
*
*/
/* clang-format off */
static sr_kemi_t sr_kemi_htable_exports[] = {
{ str_init("htable"), str_init("sht_lock"),
SR_KEMIP_INT, ki_ht_slot_lock,
Expand Down Expand Up @@ -1818,6 +1819,7 @@ static sr_kemi_t sr_kemi_htable_exports[] = {

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

/**
*
Expand Down

0 comments on commit 24d7cf3

Please sign in to comment.