From: tip-bot for David Miller <davem@davemloft.net>
To: linux-tip-commits@vger.kernel.org
Cc: acme@redhat.com, linux-kernel@vger.kernel.org, hpa@zytor.com,
mingo@kernel.org, tglx@linutronix.de, davem@davemloft.net
Subject: [tip:perf/urgent] perf symbols: Do not include libgen.h
Date: Sat, 31 Mar 2012 00:42:41 -0700 [thread overview]
Message-ID: <tip-3738d40ec51317eb8390218a33513ca35656f107@git.kernel.org> (raw)
In-Reply-To: <20120327.000301.1122788061724345175.davem@davemloft.net>
Commit-ID: 3738d40ec51317eb8390218a33513ca35656f107
Gitweb: http://git.kernel.org/tip/3738d40ec51317eb8390218a33513ca35656f107
Author: David Miller <davem@davemloft.net>
AuthorDate: Tue, 27 Mar 2012 00:03:01 -0400
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Tue, 27 Mar 2012 10:57:48 -0300
perf symbols: Do not include libgen.h
That causes us to end up using the XPG version of basename which can
modify it's argument.
Signed-off-by: David S. Miller <davem@davemloft.net>
Link: http://lkml.kernel.org/r/20120327.000301.1122788061724345175.davem@davemloft.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/util/symbol.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
index 5dd83c3..d9e995b 100644
--- a/tools/perf/util/symbol.c
+++ b/tools/perf/util/symbol.c
@@ -1,6 +1,5 @@
#include <dirent.h>
#include <errno.h>
-#include <libgen.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
prev parent reply other threads:[~2012-03-31 7:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-27 4:03 [PATCH] perf: Do not include libgen.h David Miller
2012-03-27 13:59 ` Arnaldo Carvalho de Melo
2012-03-31 7:42 ` tip-bot for David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-3738d40ec51317eb8390218a33513ca35656f107@git.kernel.org \
--to=davem@davemloft.net \
--cc=acme@redhat.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox