diff options
author | guenther <> | 2015-09-12 16:23:14 +0000 |
---|---|---|
committer | guenther <> | 2015-09-12 16:23:14 +0000 |
commit | 913cc548a379f5f2408e621a6c02c786392dab9d (patch) | |
tree | 5148a0ffe69b5fa2b2c4caf343db71769142afed /src/lib/libc/string/wcslcpy.c | |
parent | 56a3e20d1e41c02e4afd069925ec512ebb40b905 (diff) | |
download | openbsd-913cc548a379f5f2408e621a6c02c786392dab9d.tar.gz openbsd-913cc548a379f5f2408e621a6c02c786392dab9d.tar.bz2 openbsd-913cc548a379f5f2408e621a6c02c786392dab9d.zip |
Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct
and the symbols not in the C standard are weak
Diffstat (limited to 'src/lib/libc/string/wcslcpy.c')
-rw-r--r-- | src/lib/libc/string/wcslcpy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/string/wcslcpy.c b/src/lib/libc/string/wcslcpy.c index 1c4811577f..36a544a33c 100644 --- a/src/lib/libc/string/wcslcpy.c +++ b/src/lib/libc/string/wcslcpy.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: wcslcpy.c,v 1.6 2015/01/15 03:54:12 millert Exp $ */ | 1 | /* $OpenBSD: wcslcpy.c,v 1.7 2015/09/12 16:23:14 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 @@ wcslcpy(wchar_t *dst, const wchar_t *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 | } |
51 | DEF_WEAK(wcslcpy); | ||