diff options
| author | cvs2svn <admin@example.com> | 2022-05-04 18:02:08 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2022-05-04 18:02:08 +0000 |
| commit | 3c94dc45dfb15483d76c47a128ec352cc0b655ac (patch) | |
| tree | a7cfb4512c784e9518f1b1c2f4009295b8766ef4 /src/lib/libc/string/strcasecmp_l.c | |
| parent | f32cca700e59c0fd1ddd8f1fd4b35a5401be28fe (diff) | |
| download | openbsd-tb_20220504.tar.gz openbsd-tb_20220504.tar.bz2 openbsd-tb_20220504.zip | |
This commit was manufactured by cvs2git to create tag 'tb_20220504'.tb_20220504
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libc/string/strcasecmp_l.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/lib/libc/string/strcasecmp_l.c b/src/lib/libc/string/strcasecmp_l.c deleted file mode 100644 index a9543dda11..0000000000 --- a/src/lib/libc/string/strcasecmp_l.c +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | /* $OpenBSD: strcasecmp_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 | strcasecmp_l(const char *s1, const char *s2, | ||
| 11 | locale_t locale __attribute__((__unused__))) | ||
| 12 | { | ||
| 13 | return strcasecmp(s1, s2); | ||
| 14 | } | ||
| 15 | |||
| 16 | int | ||
| 17 | strncasecmp_l(const char *s1, const char *s2, size_t n, | ||
| 18 | locale_t locale __attribute__((__unused__))) | ||
| 19 | { | ||
| 20 | return strncasecmp(s1, s2, n); | ||
| 21 | } | ||
