]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Fix up some code formatting issues. 1750/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 23 Feb 2018 12:50:23 +0000 (07:50 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 23 Feb 2018 12:50:23 +0000 (07:50 -0500)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_ns.c
zebra/zebra_vrf.c

index c7561f4264f27b6ac9a610bd2c403692b6278fe2..1715881f7e87c177f0f06e2b10dec308cd682a0a 100644 (file)
@@ -34,7 +34,7 @@
 
 DEFINE_MTYPE(ZEBRA, ZEBRA_NS, "Zebra Name Space")
 
-static __inline int
+static inline int
 zebra_ns_table_entry_compare(const struct zebra_ns_table *e1,
                             const struct zebra_ns_table *e2);
 
@@ -43,7 +43,7 @@ RB_GENERATE(zebra_ns_table_head, zebra_ns_table, zebra_ns_table_entry,
 
 static struct zebra_ns *dzns;
 
-static __inline int
+static inline int
 zebra_ns_table_entry_compare(const struct zebra_ns_table *e1,
                             const struct zebra_ns_table *e2)
 {
@@ -127,6 +127,7 @@ struct route_table *zebra_ns_get_table(struct zebra_ns *zns,
 static void zebra_ns_free_table(struct zebra_ns_table *znst)
 {
        void *table_info;
+
        rib_close_table(znst->table);
 
        table_info = znst->table->info;
index f0bd91bd4bbdd751ce1e24fc59db7dd2798ab2b2..80553d5c5f9b21e792d03de4bc62618f828eff81 100644 (file)
@@ -229,7 +229,8 @@ static int zebra_vrf_disable(struct vrf *vrf)
                struct route_node *rnode;
                rib_dest_t *dest;
 
-               for (ALL_LIST_ELEMENTS(zebrad.mq->subq[i], lnode, nnode, rnode)) {
+               for (ALL_LIST_ELEMENTS(zebrad.mq->subq[i],
+                                      lnode, nnode, rnode)) {
                        dest = rib_dest_from_rnode(rnode);
                        if (dest && rib_dest_vrf(dest) == zvrf) {
                                route_unlock_node(rnode);