perf tools: Remove noise in python version feature test
authorArnaldo Carvalho de Melo <[email protected]>
Tue, 9 Oct 2012 18:15:25 +0000 (15:15 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 24 Oct 2012 16:20:10 +0000 (14:20 -0200)
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]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/config/feature-tests.mak

index 3ef5ec9cdff8ca750bb5864a4fd475c9dd389ee6..f5ac77485a4f6124c3216c93556fb26c33ae79c9 100644 (file)
@@ -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>