]> git.proxmox.com Git - mirror_frr.git/commitdiff
lib: redundant parentheses (SA)
authorF. Aragon <paco@voltanet.io>
Thu, 20 Sep 2018 15:36:21 +0000 (17:36 +0200)
committerF. Aragon <paco@voltanet.io>
Thu, 20 Sep 2018 15:36:21 +0000 (17:36 +0200)
Redundant parentheses surrounding declarator removed.

Can be detected via static analysis with e.g.

./configure CFLAGS=-Wredundant-parens CC=clang

Signed-off-by: F. Aragon <paco@voltanet.io>
lib/vrf.h

index f0dabf5b244054eb9a6b5582c6f956b71b06c9e1..04a8f70f5f05126b64b43765b66525a300ba3185 100644 (file)
--- a/lib/vrf.h
+++ b/lib/vrf.h
@@ -201,7 +201,7 @@ extern int vrf_bitmap_check(vrf_bitmap_t, vrf_id_t);
  */
 extern void vrf_init(int (*create)(struct vrf *vrf), int (*enable)(struct vrf *vrf),
                     int (*disable)(struct vrf *vrf), int (*delete)(struct vrf *vrf),
-                    int ((*update)(struct vrf *vrf)));
+                    int (*update)(struct vrf *vrf));
 
 /*
  * Call vrf_terminate when the protocol is being shutdown