summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strlcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/strlcpy.c')
-rw-r--r--src/lib/libc/string/strlcpy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/string/strlcpy.c b/src/lib/libc/string/strlcpy.c
index e9a7fe4be7..5fcf084aaa 100644
--- a/src/lib/libc/string/strlcpy.c
+++ b/src/lib/libc/string/strlcpy.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: strlcpy.c,v 1.12 2015/01/15 03:54:12 millert Exp $ */ 1/* $OpenBSD: strlcpy.c,v 1.13 2015/08/31 02:53:57 guenther Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1998, 2015 Todd C. Miller <Todd.Miller@courtesan.com> 4 * Copyright (c) 1998, 2015 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -48,3 +48,4 @@ strlcpy(char *dst, const char *src, size_t dsize)
48 48
49 return(src - osrc - 1); /* count does not include NUL */ 49 return(src - osrc - 1); /* count does not include NUL */
50} 50}
51DEF_WEAK(strlcpy);