examples/performance-thread: remove warning disabling
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 22 Oct 2019 15:43:04 +0000 (16:43 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 27 Oct 2019 16:24:14 +0000 (17:24 +0100)
commite9159ef929a922c94772d975924bb9cd51a6ea70
tree202256837fdf528b4bb4c88065974a9972690b16
parent55bd294cb074e3bcfacf2da2fe7fc9d666665498
examples/performance-thread: remove warning disabling

The warnings about functions not returning values can be removed from the
code by just adding an attribute to the function to specifies it doesn't
return. The GCC bug referenced in the makefile which prevents this from
working has been fixed for >10 years according to bugzilla.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
examples/performance-thread/l3fwd-thread/Makefile
examples/performance-thread/l3fwd-thread/main.c