From: Timothy Redaelli <tredaelli@redhat.com>
Date: Wed, 5 Feb 2020 14:12:20 +0000 (+0100)
Subject: app/pipeline: fix build with gcc 10
X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=20c1854f079e0a09f9c0383ccd896aafe6f41b0a;p=dpdk.git

app/pipeline: fix build with gcc 10

GCC 10 defaults to -fno-common, this means a linker error will now be
reported if the same global variable is defined in more than one
compilation unit.

Fixes: 48f31ca50cc4 ("app/pipeline: packet framework benchmark")
Cc: stable@dpdk.org

Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
---

diff --git a/app/test-pipeline/config.c b/app/test-pipeline/config.c
index 28ac9fcc0e..33f3f1c827 100644
--- a/app/test-pipeline/config.c
+++ b/app/test-pipeline/config.c
@@ -42,8 +42,6 @@
 
 #include "main.h"
 
-struct app_params app;
-
 static const char usage[] = "\n";
 
 void