lkml.org 
[lkml]   [2012]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] Revert "trace-cmd: Add function declaration to fix compile warning"
Date
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@google.com>
---
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


\
 
 \ /
  Last update: 2012-03-19 21:31    [W:0.051 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site