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)
commit00e99a49f6f3a6b5a84ba8bf8f632c9b974bea7a
treea2722493df97b28d7dc3d582b78a7c60b92c9ee8
parent065bef5af620dcedeb6dc26fdc0b1739a3c9adef
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