summaryrefslogtreecommitdiff
path: root/lib/yang.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2020-04-16 15:38:11 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2020-04-16 15:38:11 -0400
commit40664f16e3abdec2371010137cf68a65fa325448 (patch)
tree21defcb07cbd7375d07131b69e9ef399ac4b1f04 /lib/yang.c
parentbec74cc8a373bd1428c5754c48fe3084b212d9f3 (diff)
lib: suppress formatting on yang.c module arraynb_conversions
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/yang.c')
-rw-r--r--lib/yang.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/yang.c b/lib/yang.c
index 081d856303..c80bf20306 100644
--- a/lib/yang.c
+++ b/lib/yang.c
@@ -72,6 +72,7 @@ static const char *yang_module_imp_clb(const char *mod_name,
return NULL;
}
+/* clang-format off */
static const char *const frr_native_modules[] = {
"frr-interface",
"frr-vrf",
@@ -81,6 +82,7 @@ static const char *const frr_native_modules[] = {
"frr-vrrpd",
"frr-zebra",
};
+/* clang-format on */
/* Generate the yang_modules tree. */
static inline int yang_module_compare(const struct yang_module *a,