summaryrefslogtreecommitdiff
path: root/sharpd/sharp_main.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-03-22 11:00:34 +0200
committerGitHub <noreply@github.com>2021-03-22 11:00:34 +0200
commit37916b2b113af12d86208b9abdd594647421d65c (patch)
treeffc76feaddd010df2bfdf653a610bcc1929ca98a /sharpd/sharp_main.c
parent6b78d4c9f07f0a425521a31eee99975c48a0158d (diff)
parent941b5172ea78b578a38114268167b9eea1680dc1 (diff)
Merge pull request #8121 from opensourcerouting/macro-cleanup
*: require ISO C11 + semicolons after file-scope macros
Diffstat (limited to 'sharpd/sharp_main.c')
-rw-r--r--sharpd/sharp_main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sharpd/sharp_main.c b/sharpd/sharp_main.c
index fe7f9851f9..a1216247c0 100644
--- a/sharpd/sharp_main.c
+++ b/sharpd/sharp_main.c
@@ -49,7 +49,7 @@
#include "sharp_globals.h"
#include "sharp_nht.h"
-DEFINE_MGROUP(SHARPD, "sharpd")
+DEFINE_MGROUP(SHARPD, "sharpd");
zebra_capabilities_t _caps_p[] = {
};
@@ -129,7 +129,8 @@ FRR_DAEMON_INFO(sharpd, SHARP, .vty_port = SHARP_VTY_PORT,
.n_signals = array_size(sharp_signals),
.privs = &sharp_privs, .yang_modules = sharpd_yang_modules,
- .n_yang_modules = array_size(sharpd_yang_modules), )
+ .n_yang_modules = array_size(sharpd_yang_modules),
+);
struct sharp_global sg;