diff options
Diffstat (limited to 'src/lib/libc/string/strnlen.c')
-rw-r--r-- | src/lib/libc/string/strnlen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/string/strnlen.c b/src/lib/libc/string/strnlen.c index 872cfa6cce..26e9743f18 100644 --- a/src/lib/libc/string/strnlen.c +++ b/src/lib/libc/string/strnlen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: strnlen.c,v 1.5 2014/06/10 04:17:37 deraadt Exp $ */ | 1 | /* $OpenBSD: strnlen.c,v 1.6 2015/08/31 02:53:57 guenther Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2010 Todd C. Miller <Todd.Miller@courtesan.com> | 4 | * Copyright (c) 2010 Todd C. Miller <Todd.Miller@courtesan.com> |
@@ -30,3 +30,4 @@ strnlen(const char *str, size_t maxlen) | |||
30 | 30 | ||
31 | return (size_t)(cp - str); | 31 | return (size_t)(cp - str); |
32 | } | 32 | } |
33 | DEF_WEAK(strnlen); | ||