diff options
Diffstat (limited to 'lib/libc/string/strxfrm.c')
| -rw-r--r-- | lib/libc/string/strxfrm.c | 7 |
1 files changed, 2 insertions, 5 deletions
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 <libc.h> // for __unused #include <string.h> // for size_t, strlcpy, strlen, strxfrm, locale_t +#include <sys/cdefs.h> 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); } |
