diff options
author | guenther <> | 2015-09-12 16:23:14 +0000 |
---|---|---|
committer | guenther <> | 2015-09-12 16:23:14 +0000 |
commit | c20d8aa7d0a5035dedfa9449e0b6d70c894c4e07 (patch) | |
tree | 5148a0ffe69b5fa2b2c4caf343db71769142afed /src/lib/libc/string/wcscmp.c | |
parent | 27d4624ec7bd66ee065212639c176cf8afeaf8a4 (diff) | |
download | openbsd-c20d8aa7d0a5035dedfa9449e0b6d70c894c4e07.tar.gz openbsd-c20d8aa7d0a5035dedfa9449e0b6d70c894c4e07.tar.bz2 openbsd-c20d8aa7d0a5035dedfa9449e0b6d70c894c4e07.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/wcscmp.c')
-rw-r--r-- | src/lib/libc/string/wcscmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/string/wcscmp.c b/src/lib/libc/string/wcscmp.c index 4a8f6ba3fb..42d6bca3cc 100644 --- a/src/lib/libc/string/wcscmp.c +++ b/src/lib/libc/string/wcscmp.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: wcscmp.c,v 1.4 2005/08/08 08:05:37 espie Exp $ */ | 1 | /* $OpenBSD: wcscmp.c,v 1.5 2015/09/12 16:23:14 guenther Exp $ */ |
2 | /* $NetBSD: wcscmp.c,v 1.5 2003/08/07 16:43:54 agc Exp $ */ | 2 | /* $NetBSD: wcscmp.c,v 1.5 2003/08/07 16:43:54 agc Exp $ */ |
3 | 3 | ||
4 | /*- | 4 | /*- |
@@ -49,3 +49,4 @@ wcscmp(const wchar_t *s1, const wchar_t *s2) | |||
49 | /* XXX assumes wchar_t = int */ | 49 | /* XXX assumes wchar_t = int */ |
50 | return (*(const rune_t *)s1 - *(const rune_t *)--s2); | 50 | return (*(const rune_t *)s1 - *(const rune_t *)--s2); |
51 | } | 51 | } |
52 | DEF_STRONG(wcscmp); | ||