summaryrefslogtreecommitdiffstats
path: root/lib/vrf.h
diff options
context:
space:
mode:
authorF. Aragon <paco@voltanet.io>2018-09-20 17:36:21 +0200
committerF. Aragon <paco@voltanet.io>2018-09-20 17:36:21 +0200
commit1768243e537f32f2c43c58dd4665605b8001469e (patch)
tree728e95e290102eba9ab5c9524635aee2ed911689 /lib/vrf.h
parentMerge pull request #3017 from pacovn/devbuild_Wshadow_flag (diff)
downloadfrr-1768243e537f32f2c43c58dd4665605b8001469e.tar.xz
frr-1768243e537f32f2c43c58dd4665605b8001469e.zip
lib: redundant parentheses (SA)
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>
Diffstat (limited to 'lib/vrf.h')
-rw-r--r--lib/vrf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vrf.h b/lib/vrf.h
index f0dabf5b2..04a8f70f5 100644
--- 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