]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
perf_counter tools: fix Documentation/perf_counter build error
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 28 Apr 2009 12:56:18 +0000 (14:56 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 28 Apr 2009 14:27:41 +0000 (16:27 +0200)
Mike Galbraith reported:

> marge:..Documentation/perf_counter # make
>     CC builtin-stat.o
> In file included from builtin-stat.c:71:
> /usr/include/ctype.h:102: error: expected expression before ‘]’ token

Remove the ctype.h include.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/builtin-stat.c
Documentation/perf_counter/builtin-top.c

index d7ace631fc4ff10a9b43152335b9cb958fb6f38d..112b94ed32986e3fe01005b1a17bcbe66e652d52 100644 (file)
@@ -68,7 +68,6 @@
 #include <fcntl.h>
 #include <stdio.h>
 #include <errno.h>
-#include <ctype.h>
 #include <time.h>
 #include <sched.h>
 #include <pthread.h>
index dea016fa41e87aa1d7e03f65744568b51b62fcdb..6a276d2b2bbc1b174372919465a728a8c0a18f92 100644 (file)
@@ -49,7 +49,6 @@
 #include <fcntl.h>
 #include <stdio.h>
 #include <errno.h>
-#include <ctype.h>
 #include <time.h>
 #include <sched.h>
 #include <pthread.h>