From faee9f200898c0eb7f28ed89cdd16f8afa4438e1 Mon Sep 17 00:00:00 2001 From: Amlal Date: Sun, 27 Apr 2025 03:44:22 +0200 Subject: dev: fixes and improvements, codebase formating too. Signed-off-by: Amlal --- tooling/hefs.h | 2 -- tooling/mkfs.hefs.cc | 36 +++++++++++++++++------------------- 2 files changed, 17 insertions(+), 21 deletions(-) (limited to 'tooling') diff --git a/tooling/hefs.h b/tooling/hefs.h index a85cb2bc..b00d9049 100644 --- a/tooling/hefs.h +++ b/tooling/hefs.h @@ -26,8 +26,6 @@ #define kHeFSDIMSystemDir u"system-x/dir" #define kHeFSMIMESystemFile u"system-x/file" -#define kHeFSSearchAllStr u"*" - namespace mkfs::hefs { enum { kHeFSHardDrive = 0xC0, // Hard Drive diff --git a/tooling/mkfs.hefs.cc b/tooling/mkfs.hefs.cc index 15b18a8a..f0a48bc3 100644 --- a/tooling/mkfs.hefs.cc +++ b/tooling/mkfs.hefs.cc @@ -11,7 +11,7 @@ #include /// @internal -namespace detail { +namespace mkfs::detail { /// @brief Helper function to get the option value from command line arguments. template static std::basic_string get_option(const std::basic_string& args, @@ -26,7 +26,7 @@ static std::basic_string get_option(const std::basic_string& return std::basic_string{}; } -} // namespace detail +} // namespace mkfs::detail static size_t kDiskSize = 1024 * 1024 * 1024 * 4UL; static uint16_t kVersion = kHeFSVersion; @@ -39,7 +39,7 @@ int main(int argc, char** argv) { std::cerr << "mkfs.hefs: Usage: mkfs.hefs -L