examples/quota_watermark: fix return type of threads
authorReshma Pattan <reshma.pattan@intel.com>
Wed, 9 May 2018 11:35:28 +0000 (12:35 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 13 May 2018 21:46:50 +0000 (23:46 +0200)
commit491cf0eaa177d6aa14f2a1e124e57d8aee134c2b
tree4d34af9dce17bfb9405d8b07e2a5eb026ee0e7e5
parent97d84c7823a3c41c63163d5e70201c0b7fdae1fb
examples/quota_watermark: fix return type of threads

Gcc 8.0.1 reports incompatible cast between types i.e. from
`void (*)(void *)` to `(int (*)(void *)`.

Change the pipeline_stage prototype to retun int type
to fix the issue.

Fixes: a0ffcb257a ("examples/quota_watermark: correct code indentation")
Cc: stable@dpdk.org
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
examples/quota_watermark/qw/main.c