summaryrefslogtreecommitdiffstats
path: root/libc/string/generic/strlen.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-18 03:14:53 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-18 03:14:53 +0000
commitf87c7bd4133a2b3ad9b45c32fab33d167a348c4b (patch)
tree7259957b97704c375b3d8ab42f8da3d52665845e /libc/string/generic/strlen.c
parent164a928b77f596b6617a4bbf43a2c06bc35a5602 (diff)
downloaduClibc-alpine-f87c7bd4133a2b3ad9b45c32fab33d167a348c4b.tar.bz2
uClibc-alpine-f87c7bd4133a2b3ad9b45c32fab33d167a348c4b.tar.xz
Massive merge from trunk.
Diffstat (limited to 'libc/string/generic/strlen.c')
-rw-r--r--libc/string/generic/strlen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/string/generic/strlen.c b/libc/string/generic/strlen.c
index 2bbf8203f..aca8c2bd9 100644
--- a/libc/string/generic/strlen.c
+++ b/libc/string/generic/strlen.c
@@ -26,9 +26,7 @@
/* Return the length of the null-terminated string STR. Scan for
the null terminator quickly by testing four bytes at a time. */
-size_t
-strlen (str)
- const char *str;
+size_t attribute_hidden __strlen (const char *str)
{
const char *char_ptr;
const unsigned long int *longword_ptr;
@@ -150,3 +148,5 @@ strlen (str)
}
}
}
+
+strong_alias(__strlen, strlen)