summaryrefslogtreecommitdiff
path: root/pbrd
diff options
context:
space:
mode:
Diffstat (limited to 'pbrd')
-rw-r--r--pbrd/pbr_main.c3
-rw-r--r--pbrd/pbr_map.c8
-rw-r--r--pbrd/pbr_map.h4
-rw-r--r--pbrd/pbr_memory.c2
-rw-r--r--pbrd/pbr_memory.h2
-rw-r--r--pbrd/pbr_nht.c2
-rw-r--r--pbrd/pbr_vrf.c2
-rw-r--r--pbrd/pbr_zebra.c2
8 files changed, 13 insertions, 12 deletions
diff --git a/pbrd/pbr_main.c b/pbrd/pbr_main.c
index 01c52f24e5..1badaf95bd 100644
--- a/pbrd/pbr_main.c
+++ b/pbrd/pbr_main.c
@@ -131,7 +131,8 @@ FRR_DAEMON_INFO(pbrd, PBR, .vty_port = PBR_VTY_PORT,
.privs = &pbr_privs,
.yang_modules = pbrd_yang_modules,
- .n_yang_modules = array_size(pbrd_yang_modules), )
+ .n_yang_modules = array_size(pbrd_yang_modules),
+);
int main(int argc, char **argv, char **envp)
{
diff --git a/pbrd/pbr_map.c b/pbrd/pbr_map.c
index 5b851988f6..053b7363a3 100644
--- a/pbrd/pbr_map.c
+++ b/pbrd/pbr_map.c
@@ -37,9 +37,9 @@
#include "pbr_debug.h"
#include "pbr_vrf.h"
-DEFINE_MTYPE_STATIC(PBRD, PBR_MAP, "PBR Map")
-DEFINE_MTYPE_STATIC(PBRD, PBR_MAP_SEQNO, "PBR Map Sequence")
-DEFINE_MTYPE_STATIC(PBRD, PBR_MAP_INTERFACE, "PBR Map Interface")
+DEFINE_MTYPE_STATIC(PBRD, PBR_MAP, "PBR Map");
+DEFINE_MTYPE_STATIC(PBRD, PBR_MAP_SEQNO, "PBR Map Sequence");
+DEFINE_MTYPE_STATIC(PBRD, PBR_MAP_INTERFACE, "PBR Map Interface");
static uint32_t pbr_map_sequence_unique;
@@ -51,7 +51,7 @@ RB_GENERATE(pbr_map_entry_head, pbr_map, pbr_map_entry, pbr_map_compare)
struct pbr_map_entry_head pbr_maps = RB_INITIALIZER(&pbr_maps);
-DEFINE_QOBJ_TYPE(pbr_map_sequence)
+DEFINE_QOBJ_TYPE(pbr_map_sequence);
static inline int pbr_map_compare(const struct pbr_map *pbrmap1,
const struct pbr_map *pbrmap2)
diff --git a/pbrd/pbr_map.h b/pbrd/pbr_map.h
index ad2db146b7..caeadb0644 100644
--- a/pbrd/pbr_map.h
+++ b/pbrd/pbr_map.h
@@ -149,10 +149,10 @@ struct pbr_map_sequence {
#define PBR_MAP_INVALID_VRF (1 << 5)
uint64_t reason;
- QOBJ_FIELDS
+ QOBJ_FIELDS;
};
-DECLARE_QOBJ_TYPE(pbr_map_sequence)
+DECLARE_QOBJ_TYPE(pbr_map_sequence);
extern struct pbr_map_entry_head pbr_maps;
diff --git a/pbrd/pbr_memory.c b/pbrd/pbr_memory.c
index febe406ca7..5531d41935 100644
--- a/pbrd/pbr_memory.c
+++ b/pbrd/pbr_memory.c
@@ -24,4 +24,4 @@
#include "pbrd/pbr_memory.h"
-DEFINE_MGROUP(PBRD, "pbrd")
+DEFINE_MGROUP(PBRD, "pbrd");
diff --git a/pbrd/pbr_memory.h b/pbrd/pbr_memory.h
index a87d519099..eb13d5d9d1 100644
--- a/pbrd/pbr_memory.h
+++ b/pbrd/pbr_memory.h
@@ -19,6 +19,6 @@
*/
#ifndef __PBR_MEMORY_H__
-DECLARE_MGROUP(PBRD)
+DECLARE_MGROUP(PBRD);
#endif
diff --git a/pbrd/pbr_nht.c b/pbrd/pbr_nht.c
index ba9ad97ab8..e127999b0b 100644
--- a/pbrd/pbr_nht.c
+++ b/pbrd/pbr_nht.c
@@ -35,7 +35,7 @@
#include "pbrd/pbr_memory.h"
#include "pbrd/pbr_debug.h"
-DEFINE_MTYPE_STATIC(PBRD, PBR_NHG, "PBR Nexthop Groups")
+DEFINE_MTYPE_STATIC(PBRD, PBR_NHG, "PBR Nexthop Groups");
struct hash *pbr_nhg_hash;
static struct hash *pbr_nhrc_hash;
diff --git a/pbrd/pbr_vrf.c b/pbrd/pbr_vrf.c
index 3284607406..1b69e23ce3 100644
--- a/pbrd/pbr_vrf.c
+++ b/pbrd/pbr_vrf.c
@@ -28,7 +28,7 @@
#include "pbr_nht.h"
#include "pbr_zebra.h"
-DEFINE_MTYPE_STATIC(PBRD, PBR_MAP_VRF, "PBR Map VRF")
+DEFINE_MTYPE_STATIC(PBRD, PBR_MAP_VRF, "PBR Map VRF");
static struct pbr_vrf *pbr_vrf_alloc(void)
{
diff --git a/pbrd/pbr_zebra.c b/pbrd/pbr_zebra.c
index 467bbc8f72..4b73e13c27 100644
--- a/pbrd/pbr_zebra.c
+++ b/pbrd/pbr_zebra.c
@@ -41,7 +41,7 @@
#include "pbr_debug.h"
#include "pbr_vrf.h"
-DEFINE_MTYPE_STATIC(PBRD, PBR_INTERFACE, "PBR Interface")
+DEFINE_MTYPE_STATIC(PBRD, PBR_INTERFACE, "PBR Interface");
/* Zebra structure to hold current status. */
struct zclient *zclient;