]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Fix time function double declaration with glibc
authorThomas Renninger <trenn@suse.de>
Fri, 21 Jan 2011 14:30:09 +0000 (15:30 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 22 Jan 2011 21:53:00 +0000 (19:53 -0200)
commit50b40ad1e9dda47f45ffeb7d59b5e40e1f0fe003
treea2722493df97b28d7dc3d582b78a7c60b92c9ee8
parent96aadffac54608dbea8cdf4d79e56e13998cad2f
perf tools: Fix time function double declaration with glibc

It's enough to include the local "debug.h" file to trigger it.

man time reveals this is already declared in glibc:

time - get time in seconds
-> rename the variable.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: arjan@infradead.org
LPU-Reference: <1295620209-13859-2-git-send-email-trenn@suse.de>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/svghelper.c