aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/strnlen.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-06-14 15:55:44 +0000
committerUlrich Drepper <drepper@redhat.com>2005-06-14 15:55:44 +0000
commit0e66ade5ada897fe4b8be8d9c05c5519e7be4199 (patch)
tree62d2f98b4e39bd7d899ff6a40babfca74edbbe18 /sysdeps/generic/strnlen.c
parentc63d8f809b816fa51d2448a46fbf0ca6ec253b43 (diff)
downloadglibc-0e66ade5ada897fe4b8be8d9c05c5519e7be4199.tar
glibc-0e66ade5ada897fe4b8be8d9c05c5519e7be4199.tar.gz
glibc-0e66ade5ada897fe4b8be8d9c05c5519e7be4199.tar.bz2
glibc-0e66ade5ada897fe4b8be8d9c05c5519e7be4199.zip
* debug/pread64_chk.c: Use __libc_pread64 instead of __pread64.
* sysdeps/posix/posix_fallocate64.c: Likewise. * include/string.h: Use libc_hidden_proto for strnlen. * sysdeps/generic/strnlen.c: Add libc_hidden_def. * include/libintl.h: Use libc_hidden_proto for __dcgettext. * intl/dcgettext.c: Add libc_hidden_def. * include/execinfo.h: Add libc_hidden_proto for __backtrace and __backtrace_symbols_fd. * sysdeps/generic/backtrace.c: Add libc_hidden_def. * sysdeps/generic/backtracesymsfd.c: Likewise. * sysdeps/generic/elf/backtracesymsfd.c: Likewise. * sysdeps/i386/backtrace.c: Likewise. * sysdeps/ia64/backtrace.c: Likewise. * sysdeps/powerpc/powerpc32/backtrace.c: Likewise. * sysdeps/powerpc/powerpc64/backtrace.c: Likewise. * sysdeps/s390/s390-32/backtrace.c: Likewise. * sysdeps/s390/s390-64/backtrace.c: Likewise.
Diffstat (limited to 'sysdeps/generic/strnlen.c')
-rw-r--r--sysdeps/generic/strnlen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/strnlen.c b/sysdeps/generic/strnlen.c
index c83520e349..454257b2bc 100644
--- a/sysdeps/generic/strnlen.c
+++ b/sysdeps/generic/strnlen.c
@@ -1,5 +1,5 @@
/* Find the length of STRING, but scan at most MAXLEN characters.
- Copyright (C) 1991, 1993, 1997, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1991,1993,1997,2000,2001,2005 Free Software Foundation, Inc.
Contributed by Jakub Jelinek <jakub@redhat.com>.
Based on strlen written by Torbjorn Granlund (tege@sics.se),
@@ -158,3 +158,4 @@ __strnlen (const char *str, size_t maxlen)
return char_ptr - str;
}
weak_alias (__strnlen, strnlen)
+libc_hidden_def (strnlen)