Re: [PATCH] perf tools: fix compiling error for strndup

From: Masami Hiramatsu
Date: Wed Dec 02 2009 - 11:52:02 EST


Liming Wang wrote:
> Remove redundant include files to avoid compiling error.
>
> Signed-off-by: Liming Wang<liming.wang@xxxxxxxxxxxxx>
> Signed-off-by: Xiao Guangrong<xiaoguangrong@xxxxxxxxxxxxxx>
> Acked-by: Frederic Weisbecker<fweisbec@xxxxxxxxx>

Thanks for fixing it!

Acked-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>

> ---
> 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@xxxxxxxxxx

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