summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/stpncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/stpncpy.c')
-rw-r--r--src/lib/libc/string/stpncpy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/string/stpncpy.c b/src/lib/libc/string/stpncpy.c
index c7c2a57c4c..6bdee5de16 100644
--- a/src/lib/libc/string/stpncpy.c
+++ b/src/lib/libc/string/stpncpy.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: stpncpy.c,v 1.2 2012/07/11 10:44:59 naddy Exp $ */ 1/* $OpenBSD: stpncpy.c,v 1.3 2015/08/31 02:53:57 guenther Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 1990 The Regents of the University of California. 4 * Copyright (c) 1990 The Regents of the University of California.
@@ -54,3 +54,4 @@ stpncpy(char *dst, const char *src, size_t n)
54 } 54 }
55 return (dst); 55 return (dst);
56} 56}
57DEF_WEAK(stpncpy);