{"head":"c4f467e4b004164dc47168a38931be140ebbc2d9","size":1,"push_id":47607550,"commits":[{"sha":"c4f467e4b004164dc47168a38931be140ebbc2d9","author":{"name":"Arnaldo Carvalho de Melo","email":"293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com"},"url":"https://api.github.com/repos/acmel/linux/commits/c4f467e4b004164dc47168a38931be140ebbc2d9","message":"perf header: Fix build on old systems\n\nFor instance, on Fedora 8:\n\nCC /home/acme/git/build/perf/util/header.o\ncc1: warnings being treated as errors\nutil/header.c: In function ‘write_cpudesc’:\nutil/header.c:281: warning: implicit declaration of function ‘getline’\nutil/header.c:281: warning: nested extern declaration of ‘getline’\nmake: *** [/home/acme/git/build/perf/util/header.o] Error 1\nmake: Leaving directory `/home/acme/git/linux/tools/perf'\n[acme@localhost linux]$\n\nThis happens due to header ordering, in perf util.h sets _GNU_SOURCE, so\nit must come first.\n\nReported-by: Ingo Molnar <mingo@elte.hu>\nCc: David Ahern <dsahern@gmail.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-alfra9wao63euguj7gr8jw7e@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>"}],"ref":"refs/heads/perf/core","legacy":{"head":"c4f467e4b004164dc47168a38931be140ebbc2d9","size":1,"push_id":47607550,"shas":[["c4f467e4b004164dc47168a38931be140ebbc2d9","acme@redhat.com","perf header: Fix build on old systems\n\nFor instance, on Fedora 8:\n\nCC /home/acme/git/build/perf/util/header.o\ncc1: warnings being treated as errors\nutil/header.c: In function ‘write_cpudesc’:\nutil/header.c:281: warning: implicit declaration of function ‘getline’\nutil/header.c:281: warning: nested extern declaration of ‘getline’\nmake: *** [/home/acme/git/build/perf/util/header.o] Error 1\nmake: Leaving directory `/home/acme/git/linux/tools/perf'\n[acme@localhost linux]$\n\nThis happens due to header ordering, in perf util.h sets _GNU_SOURCE, so\nit must come first.\n\nReported-by: Ingo Molnar <mingo@elte.hu>\nCc: David Ahern <dsahern@gmail.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-alfra9wao63euguj7gr8jw7e@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo"]],"ref":"refs/heads/perf/core"}}