summaryrefslogtreecommitdiffstats
path: root/tools/perf/config/feature-checks/test-gtk2-infobar.c
diff options
context:
space:
mode:
authorIngo Molnar2013-09-30 15:08:30 +0200
committerIngo Molnar2013-10-09 08:48:42 +0200
commitc7a79e96dc166a1bdadca1367a39c84887e73de3 (patch)
tree7b31c8d509e8f8f92ab4c46d9cbe212f6ac9ba08 /tools/perf/config/feature-checks/test-gtk2-infobar.c
parenttools/perf/build: Split out feature check: 'gtk2' (diff)
downloadkernel-qcow2-linux-c7a79e96dc166a1bdadca1367a39c84887e73de3.tar.gz
kernel-qcow2-linux-c7a79e96dc166a1bdadca1367a39c84887e73de3.tar.xz
kernel-qcow2-linux-c7a79e96dc166a1bdadca1367a39c84887e73de3.zip
tools/perf/build: Split out feature check: 'gtk2-infobar'
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-oumjyVjonjvgH8ts4mftagel@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/config/feature-checks/test-gtk2-infobar.c')
-rw-r--r--tools/perf/config/feature-checks/test-gtk2-infobar.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/perf/config/feature-checks/test-gtk2-infobar.c b/tools/perf/config/feature-checks/test-gtk2-infobar.c
new file mode 100644
index 000000000000..eebcfbc45120
--- /dev/null
+++ b/tools/perf/config/feature-checks/test-gtk2-infobar.c
@@ -0,0 +1,10 @@
+#pragma GCC diagnostic ignored "-Wstrict-prototypes"
+#include <gtk/gtk.h>
+#pragma GCC diagnostic error "-Wstrict-prototypes"
+
+int main(void)
+{
+ gtk_info_bar_new();
+
+ return 0;
+}