about summary refs log tree commit diff
path: root/string/strlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/strlen.c')
-rw-r--r--string/strlen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/string/strlen.c b/string/strlen.c
index 342c4a2b70..19d2b2bb82 100644
--- a/string/strlen.c
+++ b/string/strlen.c
@@ -26,8 +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;
+strlen (const char *str)
 {
   const char *char_ptr;
   const unsigned long int *longword_ptr;