Module Name: src Committed By: matt Date: Thu Jan 10 02:08:22 UTC 2013
Modified Files: src/common/lib/libc/arch/arm/string: strcpy_naive.S Log Message: Add weak alias for strlcpy To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/arch/arm/string/strcpy_naive.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/common/lib/libc/arch/arm/string/strcpy_naive.S diff -u src/common/lib/libc/arch/arm/string/strcpy_naive.S:1.1 src/common/lib/libc/arch/arm/string/strcpy_naive.S:1.2 --- src/common/lib/libc/arch/arm/string/strcpy_naive.S:1.1 Tue Jan 8 13:14:54 2013 +++ src/common/lib/libc/arch/arm/string/strcpy_naive.S Thu Jan 10 02:08:22 2013 @@ -28,7 +28,14 @@ */ #include <machine/asm.h> -RCSID("$NetBSD: strcpy_naive.S,v 1.1 2013/01/08 13:14:54 matt Exp $") +RCSID("$NetBSD: strcpy_naive.S,v 1.2 2013/01/10 02:08:22 matt Exp $") + +#ifdef _LIBC +#ifdef STRLCPY +WEAK_ALIAS(strlcpy, _strlcpy) +#endif +#include "namespace.h" +#endif /* * These are "naive" versions of the str*cpy routines designed to be simple