[PATCH 1/2] Revert "trace-cmd: Add function declaration to fix compile warning"

From: Vaibhav Nagarnaik
Date: Mon Mar 19 2012 - 16:28:50 EST


This reverts commit 1fc4fb039bfa3f0358d7e9810de71c58a7b32b64.

Steven added commit ba911ea7fc1fdd13e3bce1b2001f5b432df8edae which does
exactly the same thing. Now we end up with a duplicate declaration of
the function trace_util_ftrace_options(). Reverting the commit gets rid
of the warning.

Signed-off-by: Vaibhav Nagarnaik <vnagarnaik@xxxxxxxxxx>
---
trace-cmd.h | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/trace-cmd.h b/trace-cmd.h
index 3f522ee..f904dc5 100644
--- a/trace-cmd.h
+++ b/trace-cmd.h
@@ -218,7 +218,6 @@ long tracecmd_flush_recording(struct tracecmd_recorder *recorder);
/* --- Plugin handling --- */
extern struct plugin_option trace_ftrace_options[];

-void trace_util_ftrace_options(void);
void trace_util_add_option(const char *name, const char *val);
void trace_util_load_plugins(struct pevent *pevent, const char *suffix,
void (*load_plugin)(struct pevent *pevent,
--
1.7.7.3

--
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/