[PATCH 1/2] perf: fix build error

From: Kirill A. Shutemov
Date: Mon Jul 23 2012 - 11:00:03 EST

From: "Kirill A. Shutemov" <kirill@xxxxxxxxxxxxx>

util/parse-events.c:29:5: error: redundant redeclaration of âparse_events_parseâ [-Werror=redundant-decls]
In file included from util/parse-events.c:14:0:
util/parse-events-bison.h:99:5: note: previous declaration of âparse_events_parseâ was here
cc1: all warnings being treated as errors

Signed-off-by: Kirill A. Shutemov <kirill@xxxxxxxxxxxxx>
tools/perf/util/parse-events.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c
index 1aa721d..ce61cba 100644
--- a/tools/perf/util/parse-events.c
+++ b/tools/perf/util/parse-events.c
@@ -26,7 +26,6 @@ struct event_symbol {
extern int parse_events_debug;
-int parse_events_parse(void *data, void *scanner);

static struct event_symbol event_symbols_hw[PERF_COUNT_HW_MAX] = {

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/