summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/strlen.c')
-rw-r--r--src/lib/libc/string/strlen.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libc/string/strlen.c b/src/lib/libc/string/strlen.c
index b9f3114cc0..298a9966a3 100644
--- a/src/lib/libc/string/strlen.c
+++ b/src/lib/libc/string/strlen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: strlen.c,v 1.5 2003/06/02 20:18:38 millert Exp $ */ 1/* $OpenBSD: strlen.c,v 1.6 2003/06/11 21:08:16 deraadt Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 1990, 1993 4 * Copyright (c) 1990, 1993
@@ -30,7 +30,7 @@
30 */ 30 */
31 31
32#if defined(LIBC_SCCS) && !defined(lint) 32#if defined(LIBC_SCCS) && !defined(lint)
33static char *rcsid = "$OpenBSD: strlen.c,v 1.5 2003/06/02 20:18:38 millert Exp $"; 33static char *rcsid = "$OpenBSD: strlen.c,v 1.6 2003/06/11 21:08:16 deraadt Exp $";
34#endif /* LIBC_SCCS and not lint */ 34#endif /* LIBC_SCCS and not lint */
35 35
36#if !defined(_KERNEL) && !defined(_STANDALONE) 36#if !defined(_KERNEL) && !defined(_STANDALONE)
@@ -40,8 +40,7 @@ static char *rcsid = "$OpenBSD: strlen.c,v 1.5 2003/06/02 20:18:38 millert Exp $
40#endif 40#endif
41 41
42size_t 42size_t
43strlen(str) 43strlen(const char *str)
44 const char *str;
45{ 44{
46 const char *s; 45 const char *s;
47 46