summaryrefslogtreecommitdiff
path: root/tools/perf/config/feature-checks/test-libelf.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-10-07 15:27:23 +0400
committerIngo Molnar <mingo@kernel.org>2013-10-09 10:49:03 +0400
commit20c99e82173bed9e4e0013ec45c0b2b3b80b65d5 (patch)
treeb6954bcf7f48893b30d04dfc358b964cda38b58e /tools/perf/config/feature-checks/test-libelf.c
parent1f7c645ab4b8326fef5afcd842795e071ecce9df (diff)
downloadlinux-20c99e82173bed9e4e0013ec45c0b2b3b80b65d5.tar.xz
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-libelf.c')
-rw-r--r--tools/perf/config/feature-checks/test-libelf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/config/feature-checks/test-libelf.c b/tools/perf/config/feature-checks/test-libelf.c
index 1a08f9717344..08db322d8957 100644
--- a/tools/perf/config/feature-checks/test-libelf.c
+++ b/tools/perf/config/feature-checks/test-libelf.c
@@ -3,5 +3,6 @@
int main(void)
{
Elf *elf = elf_begin(0, ELF_C_READ, 0);
+
return (long)elf;
}