public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf: Do not include libgen.h
@ 2012-03-27  4:03 David Miller
  2012-03-27 13:59 ` Arnaldo Carvalho de Melo
  2012-03-31  7:42 ` [tip:perf/urgent] perf symbols: " tip-bot for David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: David Miller @ 2012-03-27  4:03 UTC (permalink / raw)
  To: acme; +Cc: linux-kernel


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>
---
 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 472b467..c0a028c 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>
-- 
1.7.9.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-31  7:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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:perf/urgent] perf symbols: " tip-bot for David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox