xref: /openbsd/lib/libc/locale/wcscoll_l.c (revision d89ec533)
1 /*	$OpenBSD: wcscoll_l.c,v 1.1 2017/09/05 03:16:13 schwarze Exp $ */
2 /*
3  * Written in 2017 by Ingo Schwarze <schwarze@openbsd.org>.
4  * Released into the public domain.
5  */
6 
7 #include <wchar.h>
8 
9 /*
10  * Locale-dependent collation is intentionally unsupported.
11  */
12 int
13 wcscoll_l(const wchar_t *s1, const wchar_t *s2,
14     locale_t locale __attribute__((__unused__)))
15 {
16 	return wcscmp(s1, s2);
17 }
18