* [PATCH] perf tools: fix compiling error for strndup
@ 2009-12-02 7:59 Liming Wang
2009-12-02 16:51 ` Masami Hiramatsu
0 siblings, 1 reply; 2+ messages in thread
From: Liming Wang @ 2009-12-02 7:59 UTC (permalink / raw)
To: Ingo Molnar, mhiramat, fweisbec
Cc: Xiao Guangrong, peterz, linux-kernel, Liming Wang
Remove redundant include files to avoid compiling error.
Signed-off-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
---
tools/perf/util/string.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/tools/perf/util/string.c b/tools/perf/util/string.c
index 0977cf4..f24a8cc 100644
--- a/tools/perf/util/string.c
+++ b/tools/perf/util/string.c
@@ -1,5 +1,3 @@
-#include <string.h>
-#include <stdlib.h>
#include "string.h"
#include "util.h"
--
1.6.0.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] perf tools: fix compiling error for strndup
2009-12-02 7:59 [PATCH] perf tools: fix compiling error for strndup Liming Wang
@ 2009-12-02 16:51 ` Masami Hiramatsu
0 siblings, 0 replies; 2+ messages in thread
From: Masami Hiramatsu @ 2009-12-02 16:51 UTC (permalink / raw)
To: Liming Wang; +Cc: Ingo Molnar, fweisbec, Xiao Guangrong, peterz, linux-kernel
Liming Wang wrote:
> Remove redundant include files to avoid compiling error.
>
> Signed-off-by: Liming Wang<liming.wang@windriver.com>
> Signed-off-by: Xiao Guangrong<xiaoguangrong@cn.fujitsu.com>
> Acked-by: Frederic Weisbecker<fweisbec@gmail.com>
Thanks for fixing it!
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
> ---
> tools/perf/util/string.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/tools/perf/util/string.c b/tools/perf/util/string.c
> index 0977cf4..f24a8cc 100644
> --- a/tools/perf/util/string.c
> +++ b/tools/perf/util/string.c
> @@ -1,5 +1,3 @@
> -#include<string.h>
> -#include<stdlib.h>
> #include "string.h"
> #include "util.h"
>
--
Masami Hiramatsu
Software Engineer
Hitachi Computer Products (America), Inc.
Software Solutions Division
e-mail: mhiramat@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-02 16:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-02 7:59 [PATCH] perf tools: fix compiling error for strndup Liming Wang
2009-12-02 16:51 ` Masami Hiramatsu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox