test/distributor: fix return type of thread function
authorDavid Hunt <david.hunt@intel.com>
Thu, 10 May 2018 01:25:38 +0000 (02:25 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 13 May 2018 21:19:51 +0000 (23:19 +0200)
commit1d2ff358ff2fe236a17e22eeb28ecf013814f022
treeefee86f911f1f573456fc54961e05d6a2e7093c0
parentecd867faa860b41a154b3e24f6ea4536562234ab
test/distributor: fix return type of thread function

New warning with gcc 8.1:
When casting the function pointer passed to
rte_eal_remote_launch() as an lcore_function_t *,
it expects the cast function to return an int, but
instead it was returning void. Fixed to return
an int.

Fixes: c3eabff124e6 ("distributor: add unit tests")
Cc: stable@dpdk.org
Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
test/test/test_distributor_perf.c