summaryrefslogtreecommitdiffstats
path: root/libc/string/strncat.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-19 07:24:59 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-19 07:24:59 +0000
commit4295030e50db499e51d397af2f2c3a69cc13d96d (patch)
tree7d8065b8c01b30789f132332e7c8e4116bcf0f83 /libc/string/strncat.c
parentfd5b87c1ff55e5c562d0387df2137608b73502ab (diff)
downloaduClibc-alpine-4295030e50db499e51d397af2f2c3a69cc13d96d.tar.bz2
uClibc-alpine-4295030e50db499e51d397af2f2c3a69cc13d96d.tar.xz
libc_hidden_proto moved to string.h
Diffstat (limited to 'libc/string/strncat.c')
-rw-r--r--libc/string/strncat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/strncat.c b/libc/string/strncat.c
index 61170c369..0180d1328 100644
--- a/libc/string/strncat.c
+++ b/libc/string/strncat.c
@@ -10,7 +10,7 @@
#ifdef WANT_WIDE
# define Wstrncat wcsncat
#else
-libc_hidden_proto(strncat)
+/* Experimentally off - libc_hidden_proto(strncat) */
# define Wstrncat strncat
#endif
@@ -21,7 +21,7 @@ Wchar *Wstrncat(Wchar * __restrict s1, register const Wchar * __restrict s2,
while (*s++);
--s;
-#if __BCC__
+#ifdef __BCC__
while (n-- && ((*s = *s2++) != 0)) ++s;
#else
while (n && ((*s = *s2++) != 0)) {