From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752188AbdFUSTY (ORCPT ); Wed, 21 Jun 2017 14:19:24 -0400 Received: from terminus.zytor.com ([65.50.211.136]:55059 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751130AbdFUSTX (ORCPT ); Wed, 21 Jun 2017 14:19:23 -0400 Date: Wed, 21 Jun 2017 11:17:09 -0700 From: tip-bot for Arnaldo Carvalho de Melo Message-ID: Cc: hpa@zytor.com, acme@redhat.com, wangnan0@huawei.com, mingo@kernel.org, dsahern@gmail.com, adrian.hunter@intel.com, namhyung@kernel.org, jolsa@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de Reply-To: jolsa@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, acme@redhat.com, hpa@zytor.com, namhyung@kernel.org, mingo@kernel.org, dsahern@gmail.com, adrian.hunter@intel.com, wangnan0@huawei.com To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf tools: Remove unused _ALL_SOURCE define Git-Commit-ID: fd25bf8b8c577aef8c0156eddaf63f3e862c659c 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: fd25bf8b8c577aef8c0156eddaf63f3e862c659c Gitweb: http://git.kernel.org/tip/fd25bf8b8c577aef8c0156eddaf63f3e862c659c Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 20 Jun 2017 12:30:07 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 20 Jun 2017 12:30:07 -0300 perf tools: Remove unused _ALL_SOURCE define Curious as to what this was for I looked at /usr/include/ and only some python headers define this, and it ends up being to enable "extensions" on some old OSes: /* Enable extensions on AIX 3, Interix */ I guess we can remove this one safely. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-omnundlxo2brs552bdl6m0j1@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/util.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index 9ae7e6e..978572d 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h @@ -1,7 +1,6 @@ #ifndef GIT_COMPAT_UTIL_H #define GIT_COMPAT_UTIL_H -#define _ALL_SOURCE 1 #define _BSD_SOURCE 1 /* glibc 2.20 deprecates _BSD_SOURCE in favour of _DEFAULT_SOURCE */ #define _DEFAULT_SOURCE 1