From 5da60b9df1d52cc16a5a0bfcef1c8f4f624b3a3a Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 12 Jun 2007 07:12:29 +0000 Subject: Eliminate my_strlcpy. --- cpukit/shttpd/string.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpukit/shttpd/string.c') diff --git a/cpukit/shttpd/string.c b/cpukit/shttpd/string.c index 8e9023cf31..34e5a721fa 100644 --- a/cpukit/shttpd/string.c +++ b/cpukit/shttpd/string.c @@ -10,6 +10,7 @@ #include "defs.h" +#ifndef HAVE_STRLCPY void my_strlcpy(register char *dst, register const char *src, size_t n) { @@ -17,6 +18,7 @@ my_strlcpy(register char *dst, register const char *src, size_t n) *dst++ = *src++; *dst = '\0'; } +#endif int my_strncasecmp(const char *str1, const char *str2, size_t len) -- cgit v1.2.3