From e0548692ac29085ef877755ea3450c8ba7eeb638 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Wed, 22 Sep 2021 12:26:01 +0000 Subject: [PATCH] LibC: Stub out wcstof --- Userland/Libraries/LibC/wchar.cpp | 6 ++++++ Userland/Libraries/LibC/wchar.h | 1 + 2 files changed, 7 insertions(+) diff --git a/Userland/Libraries/LibC/wchar.cpp b/Userland/Libraries/LibC/wchar.cpp index 11b17ed999..42cdb4cd61 100644 --- a/Userland/Libraries/LibC/wchar.cpp +++ b/Userland/Libraries/LibC/wchar.cpp @@ -429,4 +429,10 @@ unsigned long long wcstoull(const wchar_t*, wchar_t**, int) dbgln("TODO: Implement wcstoull()"); TODO(); } + +float wcstof(const wchar_t*, wchar_t**) +{ + dbgln("TODO: Implement wcstof()"); + TODO(); +} } diff --git a/Userland/Libraries/LibC/wchar.h b/Userland/Libraries/LibC/wchar.h index f8e2b31374..41441c419c 100644 --- a/Userland/Libraries/LibC/wchar.h +++ b/Userland/Libraries/LibC/wchar.h @@ -49,5 +49,6 @@ wchar_t* wmemset(wchar_t*, wchar_t, size_t); wchar_t* wmemmove(wchar_t*, const wchar_t*, size_t); unsigned long wcstoul(const wchar_t*, wchar_t**, int); unsigned long long wcstoull(const wchar_t*, wchar_t**, int); +float wcstof(const wchar_t*, wchar_t**); __END_DECLS