Skip to content
Commit 00e99a49 authored by Thomas Renninger's avatar Thomas Renninger Committed by Arnaldo Carvalho de Melo
Browse files

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: default avatarThomas Renninger <trenn@suse.de>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 065bef5a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment