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

From: Vaibhav Nagarnaik
Date: Thu Aug 11 2011 - 15:38:53 EST


The function trace_util_ftrace_options() is not declared and causes a
compile warning. This patch declares it in trace-cmd.h.

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

diff --git a/trace-cmd.h b/trace-cmd.h
index f436845..66cdb28 100644
--- a/trace-cmd.h
+++ b/trace-cmd.h
@@ -209,6 +209,7 @@ void tracecmd_stat_cpu(struct trace_seq *s, int cpu);
/* --- 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.3.1

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