From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031671AbdDTLJR (ORCPT ); Thu, 20 Apr 2017 07:09:17 -0400 Received: from terminus.zytor.com ([65.50.211.136]:37111 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966022AbdDTLJO (ORCPT ); Thu, 20 Apr 2017 07:09:14 -0400 Date: Thu, 20 Apr 2017 04:07:01 -0700 From: tip-bot for Arnaldo Carvalho de Melo Message-ID: Cc: linux-kernel@vger.kernel.org, jolsa@kernel.org, wangnan0@huawei.com, mingo@kernel.org, tglx@linutronix.de, acme@redhat.com, namhyung@kernel.org, adrian.hunter@intel.com, dsahern@gmail.com, hpa@zytor.com Reply-To: wangnan0@huawei.com, mingo@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, jolsa@kernel.org, hpa@zytor.com, dsahern@gmail.com, namhyung@kernel.org, acme@redhat.com, adrian.hunter@intel.com To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf tools: Remove PRI[xu] macros from perf.h Git-Commit-ID: c3dca1a1c0ec51f384515f7e6f3b4e289a1dea2f X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: c3dca1a1c0ec51f384515f7e6f3b4e289a1dea2f Gitweb: http://git.kernel.org/tip/c3dca1a1c0ec51f384515f7e6f3b4e289a1dea2f Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 17 Apr 2017 15:25:00 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 19 Apr 2017 13:01:47 -0300 perf tools: Remove PRI[xu] macros from perf.h We get them from inttypes.h. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-qla4e4mwbf1oewafp1ee2etd@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/util.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index 2abd4f7..593a241 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include @@ -50,25 +49,6 @@ extern const char *spaces; extern const char *dots; extern char buildid_dir[]; -/* On most systems 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