summaryrefslogtreecommitdiffstats
path: root/tools/perf/config/feature-checks/test-libpython.c
diff options
context:
space:
mode:
authorIngo Molnar2013-10-07 13:27:23 +0200
committerIngo Molnar2013-10-09 08:49:03 +0200
commit20c99e82173bed9e4e0013ec45c0b2b3b80b65d5 (patch)
treeb6954bcf7f48893b30d04dfc358b964cda38b58e /tools/perf/config/feature-checks/test-libpython.c
parenttools/perf/build: Fix O=/some/dir perf.o type of targets (diff)
downloadkernel-qcow2-linux-20c99e82173bed9e4e0013ec45c0b2b3b80b65d5.tar.gz
kernel-qcow2-linux-20c99e82173bed9e4e0013ec45c0b2b3b80b65d5.tar.xz
kernel-qcow2-linux-20c99e82173bed9e4e0013ec45c0b2b3b80b65d5.zip
tools/perf/build: Harmonize the style of the feature testcases
The various testcases used different styles, which was not really visible as long as they hid in feature-tests.mak. Now that they are out in the open make them prettier. ( Also delete the leftover, empty feature-tests.mak file. ) Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Namhyung Kim <namhyung@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/n/tip-drDWk8xltndjdsespzjbhu6w@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/config/feature-checks/test-libpython.c')
-rw-r--r--tools/perf/config/feature-checks/test-libpython.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/config/feature-checks/test-libpython.c b/tools/perf/config/feature-checks/test-libpython.c
index 72267972fa98..b24b28ad6324 100644
--- a/tools/perf/config/feature-checks/test-libpython.c
+++ b/tools/perf/config/feature-checks/test-libpython.c
@@ -1,7 +1,8 @@
#include <Python.h>
-#
+
int main(void)
{
Py_Initialize();
+
return 0;
}