From b5cd18739a64c8d923a55b61c89ae3900faafd84 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 9 Dec 2025 21:17:12 +0100 Subject: Fix include paths and formatting inconsistencies --- lib/libc/strings/strcasecmp.c | 7 +++++-- lib/libc/strings/strncasecmp.c | 9 ++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'lib/libc/strings') diff --git a/lib/libc/strings/strcasecmp.c b/lib/libc/strings/strcasecmp.c index e96f059a..fc38be4a 100644 --- a/lib/libc/strings/strcasecmp.c +++ b/lib/libc/strings/strcasecmp.c @@ -1,5 +1,8 @@ -#include -#include +#include "features.h" // for __weak + +#include // for tolower +#include // for __unused +#include // for locale_t int strcasecmp(const char *s1, const char *s2) { 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 -#include -#include +#include "__stdio.h" // for size_t +#include "features.h" // for __weak + +#include // for tolower +#include // for __unused +#include // for locale_t int strncasecmp(const char *s1, const char *s2, size_t n) { -- cgit v1.2.3