Re: [PATCH][Trivial] perf: Only include annotate.h once intools/perf/util/ui/browsers/annotate.c

From: Jiri Kosina
Date: Tue May 10 2011 - 04:21:58 EST


On Sun, 10 Apr 2011, Jesper Juhl wrote:

> Including "../../annotate.h" once in
> tools/perf/util/ui/browsers/annotate.c is enough. No need to do it twice.
>
> Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>
> ---
> annotate.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/perf/util/ui/browsers/annotate.c b/tools/perf/util/ui/browsers/annotate.c
> index 8c17a87..c1360f7 100644
> --- a/tools/perf/util/ui/browsers/annotate.c
> +++ b/tools/perf/util/ui/browsers/annotate.c
> @@ -5,7 +5,6 @@
> #include "../../hist.h"
> #include "../../sort.h"
> #include "../../symbol.h"
> -#include "../../annotate.h"
> #include <pthread.h>
>
> static void ui__error_window(const char *fmt, ...)

This patch is not present in linux-next as of today. I have picked it up.

--
Jiri Kosina
SUSE Labs
--
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/