summaryrefslogtreecommitdiffhomepage
path: root/Boot/BootKit
diff options
context:
space:
mode:
authorAmlal <amlal@zka.com>2024-07-17 16:31:17 +0200
committerAmlal <amlal@zka.com>2024-07-17 16:31:17 +0200
commit7b8f6b0644e16614ebb07983ff2e8809581f8350 (patch)
tree3375b0f89110522b50f977cde9b7419fee4b71f3 /Boot/BootKit
parent9e9a4f09ae2ea33ffc12855071753a987a6b798d (diff)
[IMP] Move support header to BootKit.
Signed-off-by: Amlal <amlal@zka.com>
Diffstat (limited to 'Boot/BootKit')
-rw-r--r--Boot/BootKit/BootKit.hxx2
-rw-r--r--Boot/BootKit/Support.hxx (renamed from Boot/BootKit/Vendor/Support.hxx)0
-rw-r--r--Boot/BootKit/Vendor/Qr.hxx10
3 files changed, 7 insertions, 5 deletions
diff --git a/Boot/BootKit/BootKit.hxx b/Boot/BootKit/BootKit.hxx
index af727da1..16f81696 100644
--- a/Boot/BootKit/BootKit.hxx
+++ b/Boot/BootKit/BootKit.hxx
@@ -19,7 +19,7 @@
#include <cstring>
#include <FSKit/NewFS.hxx>
-#include <BootKit/Vendor/Support.hxx>
+#include <BootKit/Support.hxx>
/***********************************************************************************/
/// Include other APIs.
diff --git a/Boot/BootKit/Vendor/Support.hxx b/Boot/BootKit/Support.hxx
index a12148a1..a12148a1 100644
--- a/Boot/BootKit/Vendor/Support.hxx
+++ b/Boot/BootKit/Support.hxx
diff --git a/Boot/BootKit/Vendor/Qr.hxx b/Boot/BootKit/Vendor/Qr.hxx
index 9f32430d..3616aaac 100644
--- a/Boot/BootKit/Vendor/Qr.hxx
+++ b/Boot/BootKit/Vendor/Qr.hxx
@@ -1,16 +1,18 @@
-#ifndef QR_H
-#define QR_H
+#ifndef QR_HXX
+#define QR_HXX
+extern "C" {
#include <math.h>
#include <stddef.h>
#include <stdint.h>
+}
#include <BootKit/Vendor/Shared/base.h>
#include <BootKit/Vendor/Shared/bit.h>
#include <BootKit/Vendor/QrPrelude.hxx>
#include <Modules/CoreCG/CoreCG.hxx>
-#include <BootKit/Vendor/Support.hxx>
+#include <BootKit/Support.hxx>
#include <CompilerKit/Detail.hxx>
/// @note the QR code is still code 128, it utilizes the same concept of having it's own character set.
@@ -970,4 +972,4 @@ namespace Kernel::Qr
using namespace qr;
} // namespace Kernel::Qr
-#endif
+#endif // QR_HXX