]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-06-14 Ulrich Drepper <drepper@redhat.com>
authorRoland McGrath <roland@gnu.org>
Mon, 18 Jul 2005 01:59:20 +0000 (01:59 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 18 Jul 2005 01:59:20 +0000 (01:59 +0000)
[BZ #1087]
* include/string.h: Use libc_hidden_proto for strnlen.
* sysdeps/generic/strnlen.c: Add libc_hidden_def.

include/string.h
sysdeps/generic/strnlen.c

index 738dd8e27c83b0a1b3ac40acc80c663cc32a7d1d..532d5ed33300a07a826838dc5449a4f08554d700 100644 (file)
@@ -96,6 +96,7 @@ libc_hidden_builtin_proto (strcmp)
 libc_hidden_builtin_proto (strcpy)
 libc_hidden_builtin_proto (strcspn)
 libc_hidden_builtin_proto (strlen)
+libc_hidden_builtin_proto (strnlen)
 libc_hidden_builtin_proto (strncmp)
 libc_hidden_builtin_proto (strncpy)
 libc_hidden_builtin_proto (strpbrk)
index c83520e3495cf71ab115ba29e9bd9362d00fbc33..6e526bbebac5c9f0d6b2c49c28aded34d9b1c71c 100644 (file)
@@ -158,3 +158,4 @@ __strnlen (const char *str, size_t maxlen)
   return char_ptr - str;
 }
 weak_alias (__strnlen, strnlen)
+libc_hidden_def (strnlen)