eal: fix build with glibc < 2.16

The fake getauxval function does not use its parameter.
So the compiler raised this error:
	lib/librte_eal/common/eal_common_cpuflags.c:25:25: error:
	unused parameter 'type'

Fixes: 2ed9bf3307 ("eal: abstract away the auxiliary vector")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>
This commit is contained in:
Thomas Monjalon 2018-04-27 02:54:00 +02:00
parent 363e56f9e2
commit 8ddd6a90ea

View File

@ -22,7 +22,7 @@
#ifndef HAS_AUXV
static unsigned long
getauxval(unsigned long type)
getauxval(unsigned long type __rte_unused)
{
errno = ENOTSUP;
return 0;