Przeglądaj źródła

perf tools: Get rid of ctype.h in symbol.c

The ctype.h in symbol.c was needed because of isupper(). However we now
have it in util.h, it can be changed to use our implementation.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1328836217-9118-3-git-send-email-namhyung.kim@lge.com
Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Namhyung Kim 13 lat temu
rodzic
commit
e334c726ca
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tools/perf/util/symbol.c

+ 1 - 1
tools/perf/util/symbol.c

@@ -1,4 +1,3 @@
-#include <ctype.h>
 #include <dirent.h>
 #include <dirent.h>
 #include <errno.h>
 #include <errno.h>
 #include <libgen.h>
 #include <libgen.h>
@@ -12,6 +11,7 @@
 #include <unistd.h>
 #include <unistd.h>
 #include <inttypes.h>
 #include <inttypes.h>
 #include "build-id.h"
 #include "build-id.h"
+#include "util.h"
 #include "debug.h"
 #include "debug.h"
 #include "symbol.h"
 #include "symbol.h"
 #include "strlist.h"
 #include "strlist.h"