From: F. Aragon Date: Thu, 20 Sep 2018 15:36:21 +0000 (+0200) Subject: lib: redundant parentheses (SA) X-Git-Tag: frr-7.1-dev~350^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=1768243e537f32f2c43c58dd4665605b8001469e;p=mirror%2Ffrr.git 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 --- diff --git a/lib/vrf.h b/lib/vrf.h index f0dabf5b24..04a8f70f5f 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