summaryrefslogtreecommitdiffstats
path: root/isisd/isis_flags.h
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2018-03-06 20:02:52 +0100
committerLou Berger <lberger@labn.net>2018-03-06 20:04:32 +0100
commit996c93142d3abfab0f6d6c800474e22a8cfbdbc5 (patch)
tree2b28846d256c84cf7b7f1a8988fb3267c8611722 /isisd/isis_flags.h
parentbgpd: another change to keep indent.py happy (diff)
downloadfrr-996c93142d3abfab0f6d6c800474e22a8cfbdbc5.tar.xz
frr-996c93142d3abfab0f6d6c800474e22a8cfbdbc5.zip
*: conform with COMMUNITY.md formatting rules, via 'make indent'
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'isisd/isis_flags.h')
-rw-r--r--isisd/isis_flags.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/isisd/isis_flags.h b/isisd/isis_flags.h
index 229b7ab33..7d9572a2c 100644
--- a/isisd/isis_flags.h
+++ b/isisd/isis_flags.h
@@ -41,20 +41,18 @@ long int flags_get_index(struct flags *flags);
void flags_free_index(struct flags *flags, long int index);
int flags_any_set(u_int32_t *flags);
-#define _ISIS_SET_FLAG(F, C) \
- { \
- F[(C) >> 5] |= (1 << ((C) & 0x1F)); \
+#define _ISIS_SET_FLAG(F, C) \
+ { \
+ F[(C) >> 5] |= (1 << ((C)&0x1F)); \
}
#define ISIS_SET_FLAG(F, C) _ISIS_SET_FLAG(F, C->idx)
-
-#define _ISIS_CLEAR_FLAG(F, C) \
- { \
- F[(C) >> 5] &= ~(1 << ((C) & 0x1F)); \
+#define _ISIS_CLEAR_FLAG(F, C) \
+ { \
+ F[(C) >> 5] &= ~(1 << ((C)&0x1F)); \
}
#define ISIS_CLEAR_FLAG(F, C) _ISIS_CLEAR_FLAG(F, C->idx)
-
#define _ISIS_CHECK_FLAG(F, C) (F[(C)>>5] & (1<<((C) & 0x1F)))
#define ISIS_CHECK_FLAG(F, C) _ISIS_CHECK_FLAG(F, C->idx)