Re: [PATCH] perf builtin-script: It's enough to includeutil/parse-options.h header once.

From: Arnaldo Carvalho de Melo
Date: Mon Jan 10 2011 - 18:37:19 EST


Em Mon, Jan 10, 2011 at 11:14:18PM +0100, Jesper Juhl escreveu:
> It should be enough to include util/parse-options.h once in
> tools/perf/builtin-script.c

Indeed, thanks!

> Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>
> ---
> builtin-script.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c
> index 150a606..0173a80 100644
> --- a/tools/perf/builtin-script.c
> +++ b/tools/perf/builtin-script.c
> @@ -8,11 +8,10 @@
> #include "util/parse-options.h"
> #include "util/session.h"
> #include "util/symbol.h"
> #include "util/thread.h"
> #include "util/trace-event.h"
> -#include "util/parse-options.h"
> #include "util/util.h"
>
> static char const *script_name;
> static char const *generate_script_lang;
> static bool debug_mode;
>
>
> --
> Jesper Juhl <jj@xxxxxxxxxxxxx> http://www.chaosbits.net/
> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
> Plain text mails only, please.
--
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/