summaryrefslogtreecommitdiffstats
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)
downloadop-kernel-dev-1130b0296184bc21806225fd06d533515a99d2db.zip
op-kernel-dev-1130b0296184bc21806225fd06d533515a99d2db.tar.gz
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 d7ace63..112b94e 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 dea016f..6a276d2 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>
OpenPOWER on IntegriCloud