diff options
Diffstat (limited to 'src/lib/libc/string/strcoll_l.c')
| -rw-r--r-- | src/lib/libc/string/strcoll_l.c | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/libc/string/strcoll_l.c b/src/lib/libc/string/strcoll_l.c new file mode 100644 index 0000000000..bcd5b0f417 --- /dev/null +++ b/src/lib/libc/string/strcoll_l.c  | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | /* $OpenBSD: strcoll_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 <string.h> | ||
| 8 | |||
| 9 | int | ||
| 10 | strcoll_l(const char *s1, const char *s2, | ||
| 11 | locale_t locale __attribute__((__unused__))) | ||
| 12 | { | ||
| 13 | return strcmp(s1, s2); | ||
| 14 | } | ||
