diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-26 05:16:48 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-26 05:16:48 +0100 |
| commit | 1cd930c0c72f215101300dfcc5860800a474362d (patch) | |
| tree | 78b3a29c8d9936baaa78b628e0862eb6546c56d8 /Private/Source | |
| parent | 4bac72356c29f6f92c0d0df40e1aef09a4216d56 (diff) | |
Kernel: Adding IPC support.
Kernel: Adding better framebuffer support.
Kernel: Expose part of CFKit' URL API.
System.Core: Rename most of API types to their <Prefix> with Ref at the end.
System.Core: Add API to Window.hxx
System.Driver: Add Driver SDK.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/Source')
| -rw-r--r-- | Private/Source/URL.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Private/Source/URL.cxx b/Private/Source/URL.cxx index 121003a2..fc515a03 100644 --- a/Private/Source/URL.cxx +++ b/Private/Source/URL.cxx @@ -20,14 +20,14 @@ constexpr const char *kURLProtocols[] = { "http", // http without the secure "file", // filesystem protocol "ftp", // file transfer protocol - "sysconf", // system settings + "sysconf", // system config }; constexpr const int kUrlOutSz = 3; //! such as: :// constexpr const int kProtosCount = 5; constexpr const int kRangeSz = 4096; -static ErrorOr<StringView> url_extract_location(const char *url) { +ErrorOr<StringView> url_extract_location(const char *url) { if (!url || *url == 0 || rt_string_len(url, kRangeSz) > kRangeSz) return ErrorOr<StringView>{-1}; @@ -54,7 +54,7 @@ static ErrorOr<StringView> url_extract_location(const char *url) { return ErrorOr<StringView>(view); } -static ErrorOr<StringView> url_extract_protocol(const char *url) { +ErrorOr<StringView> url_extract_protocol(const char *url) { if (!url || *url == 0 || rt_string_len(url, kRangeSz) > kRangeSz) return ErrorOr<StringView>{-1}; |
