diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-06-12 07:12:29 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-06-12 07:12:29 +0000 |
commit | 5da60b9df1d52cc16a5a0bfcef1c8f4f624b3a3a (patch) | |
tree | abd006978d9798be181c3c6e9227f73002c6099a /cpukit/shttpd/string.c | |
parent | 2007-06-12 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-5da60b9df1d52cc16a5a0bfcef1c8f4f624b3a3a.tar.bz2 |
Eliminate my_strlcpy.
Diffstat (limited to '')
-rw-r--r-- | cpukit/shttpd/string.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |