summaryrefslogtreecommitdiffstats
path: root/lib/module.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-02-21 07:07:15 +0100
committerDavid Lamparter <equinox@diac24.net>2021-03-17 06:18:39 +0100
commit80413c2073a20774b264ab04f7a4ea4515699790 (patch)
tree7902d0a3503de17d469f5dd8fafefbe1df5583c6 /lib/module.h
parent*: require semicolon after DEFINE_<typesafe...> (diff)
downloadfrr-80413c2073a20774b264ab04f7a4ea4515699790.tar.xz
frr-80413c2073a20774b264ab04f7a4ea4515699790.zip
*: require semicolon after FRR_DAEMON_INFO & co.
... again ... Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/module.h')
-rw-r--r--lib/module.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/module.h b/lib/module.h
index 5d8d9cfbc..6275877cb 100644
--- a/lib/module.h
+++ b/lib/module.h
@@ -79,12 +79,13 @@ extern union _frrmod_runtime_u _frrmod_this_module;
NULL, \
&_frrmod_info, \
}}; \
- XREF_SETUP() \
- /* end */
+ XREF_SETUP(); \
+ MACRO_REQUIRE_SEMICOLON() /* end */
#define FRR_MODULE_SETUP(...) \
- FRR_COREMOD_SETUP(__VA_ARGS__) \
- DSO_SELF struct frrmod_runtime *frr_module = &_frrmod_this_module.r;
+ FRR_COREMOD_SETUP(__VA_ARGS__); \
+ DSO_SELF struct frrmod_runtime *frr_module = &_frrmod_this_module.r; \
+ MACRO_REQUIRE_SEMICOLON() /* end */
extern struct frrmod_runtime *frrmod_list;