perf tools: Remove noise in python version feature test
Commit-ID: feb8ada4ea5540ee986b23abd95597118729704c Gitweb: http://git.kernel.org/tip/feb8ada4ea5540ee986b23abd95597118729704c Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Tue, 9 Oct 2012 15:15:25 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 24 Oct 2012 14:20:10 -0200
perf tools: Remove noise in python version feature test
Now that the feature tests honours the V=1 make verbosity switch, add a return to the main() routine in the python version test, to avoid this distraction:
CHK python version
<stdin>: In function 'main':
<stdin>:5: warning: control reaches end of non-void function
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/config/feature-tests.mak | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
tools/perf/config/feature-tests.mak +4 -1
@@ -121,7 +121,10 @@ define SOURCE_PYTHON_VERSION #if PY_VERSION_HEX >= 0x03000000 #error #endif -int main(void){} +int main(void) +{ + return 0; +} endef define SOURCE_PYTHON_EMBED #include <Python.h>