Skip to contentSkip to conversation

perf tools: Remove old baggage that is util/include/linux/ctype.h

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Jul 3, 2019 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  9f3926e08c26607a0dd5b1bc8a8aa1d03f72fcdc
Gitweb:     https://git.kernel.org/tip/9f3926e08c26607a0dd5b1bc8a8aa1d03f72fcdc
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Tue, 25 Jun 2019 18:19:33 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 25 Jun 2019 18:31:12 -0300

perf tools: Remove old baggage that is util/include/linux/ctype.h

It was just including a ../util.h that wasn't even there:

  $ cat tools/perf/util/include/linux/../util.h
  cat: tools/perf/util/include/linux/../util.h: No such file or directory
  $

This would make kallsyms.h get util.h somehow and then files including it would get util.h defined stuff, a mess, fix it.

---
 tools/lib/symbol/kallsyms.h           | 1 -
 tools/perf/util/include/linux/ctype.h | 1 -
 2 files changed, 2 deletions(-)
tools/lib/symbol/kallsyms.h +0 -1
index bd988f7b18d4..2b238f181d97 100644
@@ -3,7 +3,6 @@
 #define __TOOLS_KALLSYMS_H_ 1
 
 #include <elf.h>
-#include <linux/ctype.h>
 #include <linux/types.h>
 
 #ifndef KSYM_NAME_LEN
tools/perf/util/include/linux/ctype.h deleted +0 -1
deleted file mode 100644
index a53d4ee1e0b7..000000000000
@@ -1 +0,0 @@
-#include "../util.h"