summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/strlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/lib/libkern/strlen.c')
-rw-r--r--sys/lib/libkern/strlen.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/lib/libkern/strlen.c b/sys/lib/libkern/strlen.c
index 3991469d318..9b7fea786ed 100644
--- a/sys/lib/libkern/strlen.c
+++ b/sys/lib/libkern/strlen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strlen.c,v 1.6 2003/06/02 23:28:08 millert Exp $ */
+/* $OpenBSD: strlen.c,v 1.7 2004/08/07 00:38:33 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -30,7 +30,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: strlen.c,v 1.6 2003/06/02 23:28:08 millert Exp $";
+static char *rcsid = "$OpenBSD: strlen.c,v 1.7 2004/08/07 00:38:33 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#if !defined(_KERNEL) && !defined(_STANDALONE)
@@ -40,8 +40,7 @@ static char *rcsid = "$OpenBSD: strlen.c,v 1.6 2003/06/02 23:28:08 millert Exp $
#endif
size_t
-strlen(str)
- const char *str;
+strlen(const char *str)
{
const char *s;