From: Ingo Molnar Date: Tue, 1 Oct 2013 11:26:13 +0000 (+0200) Subject: tools/perf: Turn strlcpy() into a __weak function X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~41^2~28^2~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb1c9185e36cf9c616ac15f54e54a01f052672bd;p=pandora-kernel.git tools/perf: Turn strlcpy() into a __weak function The strlcpy() feature check slows every build unnecessarily - so make it a __weak function so it does not have to be auto-detected. If the libc (or any other library) has an strlcpy() implementation it will be used - otherwise our fallback is active. Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Namhyung Kim Cc: David Ahern Cc: Jiri Olsa Link: http://lkml.kernel.org/n/tip-zjbrcupapu08ePsyYhhhxiwk@git.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed