[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-omnundlxo2brs552bdl6m0j1@git.kernel.org>
Date: Wed, 21 Jun 2017 11:17:09 -0700
From: tip-bot for Arnaldo Carvalho de Melo <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: hpa@...or.com, acme@...hat.com, wangnan0@...wei.com,
mingo@...nel.org, dsahern@...il.com, adrian.hunter@...el.com,
namhyung@...nel.org, jolsa@...nel.org,
linux-kernel@...r.kernel.org, tglx@...utronix.de
Subject: [tip:perf/core] perf tools: Remove unused _ALL_SOURCE define
Commit-ID: fd25bf8b8c577aef8c0156eddaf63f3e862c659c
Gitweb: http://git.kernel.org/tip/fd25bf8b8c577aef8c0156eddaf63f3e862c659c
Author: Arnaldo Carvalho de Melo <acme@...hat.com>
AuthorDate: Tue, 20 Jun 2017 12:30:07 -0300
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
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 <adrian.hunter@...el.com>
Cc: David Ahern <dsahern@...il.com>
Cc: Jiri Olsa <jolsa@...nel.org>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Wang Nan <wangnan0@...wei.com>
Link: http://lkml.kernel.org/n/tip-omnundlxo2brs552bdl6m0j1@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
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
Powered by blists - more mailing lists