diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-17 14:25:00 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-19 12:01:47 -0400 |
commit | c3dca1a1c0ec51f384515f7e6f3b4e289a1dea2f (patch) | |
tree | 8b5bbb13a8456bb9923b03b6e72d366e34f18014 | |
parent | fd20e8111cc0e51ce12fb8ee17c863088fe95065 (diff) |
perf tools: Remove PRI[xu] macros from perf.h
We get them from inttypes.h.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-qla4e4mwbf1oewafp1ee2etd@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/util/util.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index 2abd4f783ffd..593a24192924 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h | |||
@@ -34,7 +34,6 @@ | |||
34 | #include <poll.h> | 34 | #include <poll.h> |
35 | #include <sys/socket.h> | 35 | #include <sys/socket.h> |
36 | #include <sys/ioctl.h> | 36 | #include <sys/ioctl.h> |
37 | #include <inttypes.h> | ||
38 | #include <linux/kernel.h> | 37 | #include <linux/kernel.h> |
39 | #include <linux/types.h> | 38 | #include <linux/types.h> |
40 | #include <sys/ttydefaults.h> | 39 | #include <sys/ttydefaults.h> |
@@ -50,25 +49,6 @@ extern const char *spaces; | |||
50 | extern const char *dots; | 49 | extern const char *dots; |
51 | extern char buildid_dir[]; | 50 | extern char buildid_dir[]; |
52 | 51 | ||
53 | /* On most systems <limits.h> would have given us this, but | ||
54 | * not on some systems (e.g. GNU/Hurd). | ||
55 | */ | ||
56 | #ifndef PATH_MAX | ||
57 | #define PATH_MAX 4096 | ||
58 | #endif | ||
59 | |||
60 | #ifndef PRIuMAX | ||
61 | #define PRIuMAX "llu" | ||
62 | #endif | ||
63 | |||
64 | #ifndef PRIu32 | ||
65 | #define PRIu32 "u" | ||
66 | #endif | ||
67 | |||
68 | #ifndef PRIx32 | ||
69 | #define PRIx32 "x" | ||
70 | #endif | ||
71 | |||
72 | #ifndef PATH_SEP | 52 | #ifndef PATH_SEP |
73 | #define PATH_SEP ':' | 53 | #define PATH_SEP ':' |
74 | #endif | 54 | #endif |