summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorBernd Schmidt <bernds_cb1@t-online.de>2008-06-11 12:12:40 +0000
committerBernd Schmidt <bernds_cb1@t-online.de>2008-06-11 12:12:40 +0000
commit653bb754d4a1a04ff5ef082a3ca6b0ee9f1d163e (patch)
treecf18c1da4949ddafb28b9ecc6c57a932aa12e749 /libc/string
parent0a226405812fcb5bb5f8e92b765665762850dd8c (diff)
Fix two more cases where a libc_hidden_proto was added to string.h while
no libc_hidden_def exists for the function.
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/memccpy.c1
-rw-r--r--libc/string/strlcat.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/string/memccpy.c b/libc/string/memccpy.c
index fe5a76a4d..076bdac7d 100644
--- a/libc/string/memccpy.c
+++ b/libc/string/memccpy.c
@@ -18,3 +18,4 @@ void *memccpy(void * __restrict s1, const void * __restrict s2, int c, size_t n)
return (n == (size_t) -1) ? NULL : r1;
}
+libc_hidden_def(memccpy)
diff --git a/libc/string/strlcat.c b/libc/string/strlcat.c
index 117b8e552..d55761d4c 100644
--- a/libc/string/strlcat.c
+++ b/libc/string/strlcat.c
@@ -44,3 +44,4 @@ size_t strlcat(register char *__restrict dst,
return len;
}
+libc_hidden_def(strlcat)