summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-17 21:25:00 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-19 19:01:47 +0300
commitc3dca1a1c0ec51f384515f7e6f3b4e289a1dea2f (patch)
tree8b5bbb13a8456bb9923b03b6e72d366e34f18014 /tools
parentfd20e8111cc0e51ce12fb8ee17c863088fe95065 (diff)
downloadlinux-c3dca1a1c0ec51f384515f7e6f3b4e289a1dea2f.tar.xz
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/util/util.h20
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 @@
#include <poll.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
-#include <inttypes.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <sys/ttydefaults.h>
@@ -50,25 +49,6 @@ extern const char *spaces;
extern const char *dots;
extern char buildid_dir[];
-/* On most systems <limits.h> would have given us this, but
- * not on some systems (e.g. GNU/Hurd).
- */
-#ifndef PATH_MAX
-#define PATH_MAX 4096
-#endif
-
-#ifndef PRIuMAX
-#define PRIuMAX "llu"
-#endif
-
-#ifndef PRIu32
-#define PRIu32 "u"
-#endif
-
-#ifndef PRIx32
-#define PRIx32 "x"
-#endif
-
#ifndef PATH_SEP
#define PATH_SEP ':'
#endif