From 49ee68443d41ffe1ab72c964104da980a2eb4367 Mon Sep 17 00:00:00 2001 From: Benoît Ganne Date: Tue, 30 Apr 2019 11:50:46 +0200 Subject: build: add -Wall and -fno-common, fix reported issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Type: refactor Change-Id: I8489ccd54411c2aa9355439c5641dc31012c64a2 Signed-off-by: Benoît Ganne Signed-off-by: Damjan Marion --- src/plugins/ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_test.c | 2 +- src/plugins/ioam/export/ioam_export_test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/ioam') diff --git a/src/plugins/ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_test.c b/src/plugins/ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_test.c index 85e1ee37bcc..ff3f36783fc 100644 --- a/src/plugins/ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_test.c +++ b/src/plugins/ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_test.c @@ -59,7 +59,7 @@ typedef struct vat_main_t *vat_main; } export_test_main_t; -export_test_main_t export_test_main; +static export_test_main_t export_test_main; #define foreach_standard_reply_retval_handler \ _(vxlan_gpe_ioam_export_enable_disable_reply) diff --git a/src/plugins/ioam/export/ioam_export_test.c b/src/plugins/ioam/export/ioam_export_test.c index 2af4eeed51a..cd98877ac22 100644 --- a/src/plugins/ioam/export/ioam_export_test.c +++ b/src/plugins/ioam/export/ioam_export_test.c @@ -60,7 +60,7 @@ typedef struct vat_main_t *vat_main; } export_test_main_t; -export_test_main_t export_test_main; +static export_test_main_t export_test_main; #define foreach_standard_reply_retval_handler \ _(ioam_export_ip6_enable_disable_reply) -- cgit 1.2.3-korg