From 4ae57a7fb13e68c5e6f1c1246a867555dbd986db Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 29 Aug 2022 13:57:47 +0200 Subject: user/lua: implement the bare minimum for it to link and "run" --- src/user/lib/include/locale.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/user/lib/include/locale.h') diff --git a/src/user/lib/include/locale.h b/src/user/lib/include/locale.h index 263dfb5..1221375 100644 --- a/src/user/lib/include/locale.h +++ b/src/user/lib/include/locale.h @@ -67,4 +67,7 @@ static inline struct lconv *localeconv(void) { return &locale; } -char *setlocale(int category, const char *locale); +static inline char *setlocale(int category, const char *locale) { + (void)category; (void)locale; + return NULL; +} -- cgit v1.2.3