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: 48f31ca50c ("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>
This commit is contained in:
Timothy Redaelli 2020-02-05 15:12:20 +01:00 committed by David Marchand
parent 53ba646a0a
commit 20c1854f07

View File

@ -42,8 +42,6 @@
#include "main.h"
struct app_params app;
static const char usage[] = "\n";
void