forked from Minki/linux
1e3f30fae7
Prepare to include them into test-all.c directly, by making sure that they build cleanly and without warnings. Also make sure they make a certain amount of sense and don't crash when executed. 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-Mn9gsdutzopoowk3xurqpsxE@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
12 lines
221 B
C
12 lines
221 B
C
#pragma GCC diagnostic ignored "-Wstrict-prototypes"
|
|
#include <gtk/gtk.h>
|
|
#pragma GCC diagnostic error "-Wstrict-prototypes"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
gtk_init(&argc, &argv);
|
|
gtk_info_bar_new();
|
|
|
|
return 0;
|
|
}
|