summaryrefslogtreecommitdiff
path: root/src/user/lib/include/locale.h
diff options
context:
space:
mode:
authordzwdz2022-08-29 13:57:47 +0200
committerdzwdz2022-08-29 13:58:02 +0200
commit4ae57a7fb13e68c5e6f1c1246a867555dbd986db (patch)
tree3bee7f7eee21e9f2ed3b9f07dd1671a1c230cf66 /src/user/lib/include/locale.h
parentedb7fc07bf93e4a1883cccf45ad7a4b2cbf390d9 (diff)
user/lua: implement the bare minimum for it to link and "run"
Diffstat (limited to 'src/user/lib/include/locale.h')
-rw-r--r--src/user/lib/include/locale.h5
1 files changed, 4 insertions, 1 deletions
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;
+}