summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/NewKit
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Kernel/NewKit')
-rw-r--r--dev/Kernel/NewKit/KString.h2
-rw-r--r--dev/Kernel/NewKit/Macros.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/dev/Kernel/NewKit/KString.h b/dev/Kernel/NewKit/KString.h
index c0e48d72..dc327f3b 100644
--- a/dev/Kernel/NewKit/KString.h
+++ b/dev/Kernel/NewKit/KString.h
@@ -16,7 +16,7 @@
namespace Kernel
{
- /// @brief KString static string class.
+ /// @brief Kernel string class, not dynamic.
class KString final
{
public:
diff --git a/dev/Kernel/NewKit/Macros.h b/dev/Kernel/NewKit/Macros.h
index 8673bad1..15d5f2bd 100644
--- a/dev/Kernel/NewKit/Macros.h
+++ b/dev/Kernel/NewKit/Macros.h
@@ -11,7 +11,7 @@
#endif
#ifndef kib_cast
-#define kib_cast(X) (Kernel::UInt64)((X)*1024)
+#define kib_cast(X) (Kernel::UInt64)((X) * 1024)
#endif
#ifndef MIB
@@ -92,9 +92,9 @@
#define END_STRING_ENUM() }
#endif
-#ifndef rtl_alloca
-#define rtl_alloca(sz) __builtin_alloca(sz)
-#endif // #ifndef rtl_alloca
+#ifndef RTL_ALLOCA
+#define RTL_ALLOCA(sz) __builtin_alloca(sz)
+#endif // #ifndef RTL_ALLOCA
#ifndef CANT_REACH
#define CANT_REACH() __builtin_unreachable()