From 69e6fe89fa9baafeca3e3515bb50897cd8ee7c35 Mon Sep 17 00:00:00 2001 From: Kacper Date: Mon, 15 Dec 2025 18:24:54 +0100 Subject: Add getauxval and cleanup libc startup --- lib/libc/string/strxfrm.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'lib/libc/string/strxfrm.c') diff --git a/lib/libc/string/strxfrm.c b/lib/libc/string/strxfrm.c index ae51f984..ddfe8315 100644 --- a/lib/libc/string/strxfrm.c +++ b/lib/libc/string/strxfrm.c @@ -1,7 +1,5 @@ -#include "features.h" // for __weak - -#include // for __unused #include // for size_t, strlcpy, strlen, strxfrm, locale_t +#include size_t strxfrm(char *restrict s1, const char *restrict s2, size_t n) { @@ -13,8 +11,7 @@ size_t strxfrm(char *restrict s1, const char *restrict s2, size_t n) return len; } -__weak size_t strxfrm_l(char *restrict s1, const char *restrict s2, size_t n, - locale_t __unused locale) +__weak size_t strxfrm_l(char *restrict s1, const char *restrict s2, size_t n, locale_t __unused locale) { return strxfrm(s1, s2, n); } -- cgit v1.2.3