eal: fix build with glibc < 2.16
authorThomas Monjalon <thomas@monjalon.net>
Fri, 27 Apr 2018 00:54:00 +0000 (02:54 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 27 Apr 2018 09:12:53 +0000 (11:12 +0200)
commit8ddd6a90ea3cbd3724191984039c71de8b58d41b
tree2d394cb1f37265b88edb67d8f84c4cfa4a821b1e
parent363e56f9e23cfdd0ba73c9a49a97d95565052baf
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: 2ed9bf330709 ("eal: abstract away the auxiliary vector")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_eal/common/eal_common_cpuflags.c