aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2011-02-25 20:57:04 +0000
committerFrederic Weisbecker <[email protected]>2011-03-04 00:17:18 +0000
commitff9ae1babd8ce88c3f90db6278ea5f55bdcb4624 (patch)
tree703eed1cfbb851476cc250dda706327f35d35f5b /tools/perf/util/python.c
parentMerge branch '/tip/perf/filter' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadkernel-ff9ae1babd8ce88c3f90db6278ea5f55bdcb4624.tar.gz
kernel-ff9ae1babd8ce88c3f90db6278ea5f55bdcb4624.zip
perf: Fix missing strndup declaration
<ctype.h> is included first without _GNU_SOURCE, so it ends up including <string.h> without declaring strndup(). And further <string.h> declarations, even with _GNU_SOURCE defined, are of course without effect. Therefore: util/strfilter.c: Dans la fonction «strfilter_node__new» : util/strfilter.c:134: attention : déclaration implicite de la fonction « «strndup» » util/strfilter.c:134: attention : incompatible implicit declaration of built-in function «strndup» make: *** [util/strfilter.o] Erreur 1 Just don't include ctype.h as it doesn't appear to be necessary anyway. Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Tom Zanussi <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions