summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/utility
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-05 21:18:35 +0100
committerGitHub <noreply@github.com>2025-11-05 21:18:35 +0100
commit41d4c1f2158be039ad94c09800885aafdafc5f24 (patch)
tree57eb44165e6008a3561970f5f5d86cb686fc2cbe /dev/lib/utility
parent8939837390193e86c52299048caec9c7722178e6 (diff)
parent964f0d8ca36d9333efcfd3136a5cae77dc5dded4 (diff)
Merge pull request #3 from snu-systems-corp/develop
Develop: New URL API.
Diffstat (limited to 'dev/lib/utility')
-rw-r--r--dev/lib/utility/chunk_string.hpp6
-rw-r--r--dev/lib/utility/embfs.hpp3
2 files changed, 5 insertions, 4 deletions
diff --git a/dev/lib/utility/chunk_string.hpp b/dev/lib/utility/chunk_string.hpp
index c5bf5c6..6778173 100644
--- a/dev/lib/utility/chunk_string.hpp
+++ b/dev/lib/utility/chunk_string.hpp
@@ -5,8 +5,8 @@
* Copyright 2025, Amlal El Mahrouss
*/
-#ifndef OCL_UTILITY_CHUNK_STRING_HPP
-#define OCL_UTILITY_CHUNK_STRING_HPP
+#ifndef SCL_UTILITY_CHUNK_STRING_HPP
+#define SCL_UTILITY_CHUNK_STRING_HPP
#include <lib/core/includes.hpp>
@@ -99,4 +99,4 @@ namespace scl
fmt.print();
}
} // namespace scl
-#endif // ifndef OCL_UTILITY_CHUNK_STRING_HPP
+#endif // ifndef SCL_UTILITY_CHUNK_STRING_HPP
diff --git a/dev/lib/utility/embfs.hpp b/dev/lib/utility/embfs.hpp
index 689082c..2738ae7 100644
--- a/dev/lib/utility/embfs.hpp
+++ b/dev/lib/utility/embfs.hpp
@@ -28,7 +28,7 @@ namespace scl::embfs
inline constexpr const size_t _inode_arr_len = 12;
inline constexpr const size_t _inode_lookup_len = 8;
-#ifdef EMBFS_28BIT_LBA
+#if defined(EMBFS_28BIT_LBA)
typedef std::uint32_t lba_t;
#elif defined(EMBFS_48BIT_LBA)
typedef std::uint64_t lba_t;
@@ -37,6 +37,7 @@ namespace scl::embfs
#endif
typedef std::int16_t sword_t;
+
typedef std::int32_t sdword_t;
typedef std::uint8_t utf8_char_t;