forked from Mirror/frr
lib: Add clang-format wrapper around printfrr_ext
Signed-off-by: Mike RE Mallin <mremallin@gmail.com>
This commit is contained in:
parent
f381bc2148
commit
b30523d3c9
|
@ -172,9 +172,11 @@ static inline bool ipaddr_is_same(const struct ipaddr *ip1,
|
||||||
return ipaddr_cmp(ip1, ip2) == 0;
|
return ipaddr_cmp(ip1, ip2) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* clang-format off */
|
||||||
#ifdef _FRR_ATTRIBUTE_PRINTFRR
|
#ifdef _FRR_ATTRIBUTE_PRINTFRR
|
||||||
#pragma FRR printfrr_ext "%pIA" (struct ipaddr *)
|
#pragma FRR printfrr_ext "%pIA" (struct ipaddr *)
|
||||||
#endif
|
#endif
|
||||||
|
/* clang-format on */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue