summaryrefslogtreecommitdiff
path: root/lib/libc/locale/wcscoll_l.c
blob: 7bfd156310940a371b4575bbd65d2307eb3dfcc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*	$OpenBSD: wcscoll_l.c,v 1.1 2017/09/05 03:16:13 schwarze Exp $ */
/*
 * Written in 2017 by Ingo Schwarze <schwarze@openbsd.org>.
 * Released into the public domain.
 */

#include <wchar.h>

/*
 * Locale-dependent collation is intentionally unsupported.
 */
int
wcscoll_l(const wchar_t *s1, const wchar_t *s2,
    locale_t locale __attribute__((__unused__)))
{
	return wcscmp(s1, s2);
}