diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 21:17:12 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 21:17:12 +0100 |
| commit | b5cd18739a64c8d923a55b61c89ae3900faafd84 (patch) | |
| tree | d192f7b25257ae9a8a4760c68f5314dcbc0d9b91 /lib/libc/strings/strncasecmp.c | |
| parent | 119aed5bc787ccbf23d2f151759ec1f3a80977e1 (diff) | |
Fix include paths and formatting inconsistencies
Diffstat (limited to 'lib/libc/strings/strncasecmp.c')
| -rw-r--r-- | lib/libc/strings/strncasecmp.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/strings/strncasecmp.c b/lib/libc/strings/strncasecmp.c index 7c2c9717..12ae0fae 100644 --- a/lib/libc/strings/strncasecmp.c +++ b/lib/libc/strings/strncasecmp.c @@ -1,6 +1,9 @@ -#include <libc.h> -#include <ctype.h> -#include <stddef.h> +#include "__stdio.h" // for size_t +#include "features.h" // for __weak + +#include <ctype.h> // for tolower +#include <libc.h> // for __unused +#include <locale.h> // for locale_t int strncasecmp(const char *s1, const char *s2, size_t n) { |
