summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-04-28 14:56:18 +0200
committerIngo Molnar <mingo@elte.hu>2009-04-28 16:27:41 +0200
commit1130b0296184bc21806225fd06d533515a99d2db (patch)
tree379684c9567726c5b7d241287045735cf637fade
parent148be2c15d4a866fbc7a8f55342e4fd4de73be61 (diff)
downloadlinux-3.10-1130b0296184bc21806225fd06d533515a99d2db.tar.gz
linux-3.10-1130b0296184bc21806225fd06d533515a99d2db.tar.bz2
linux-3.10-1130b0296184bc21806225fd06d533515a99d2db.zip
perf_counter tools: fix Documentation/perf_counter build error
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>
-rw-r--r--Documentation/perf_counter/builtin-stat.c1
-rw-r--r--Documentation/perf_counter/builtin-top.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/Documentation/perf_counter/builtin-stat.c b/Documentation/perf_counter/builtin-stat.c
index d7ace631fc4..112b94ed329 100644
--- a/Documentation/perf_counter/builtin-stat.c
+++ b/Documentation/perf_counter/builtin-stat.c
@@ -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>
diff --git a/Documentation/perf_counter/builtin-top.c b/Documentation/perf_counter/builtin-top.c
index dea016fa41e..6a276d2b2bb 100644
--- a/Documentation/perf_counter/builtin-top.c
+++ b/Documentation/perf_counter/builtin-top.c
@@ -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>