Replace include guards with pragma once
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef __JABYENGINE_AUTO_LBA_HPP__
|
||||
#define __JABYENGINE_AUTO_LBA_HPP__
|
||||
#pragma once
|
||||
#include "../Auxiliary/bits.hpp"
|
||||
|
||||
namespace JabyEngine {
|
||||
@@ -39,6 +38,4 @@ namespace JabyEngine {
|
||||
return const_cast<const AutoLBAEntry*>(this)->is_lz4();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#endif //!__JABYENGINE_AUTO_LBA_HPP__
|
||||
}
|
@@ -1,9 +1,6 @@
|
||||
#ifndef __JABYENGINE_AUTO_LBA_DECLARATION_HPP__
|
||||
#define __JABYENGINE_AUTO_LBA_DECLARATION_HPP__
|
||||
|
||||
#pragma once
|
||||
extern const volatile JabyEngine::AutoLBAEntry lba[];
|
||||
|
||||
#define __declare_lba_header(enum_struct) \
|
||||
[[gnu::used]] \
|
||||
const volatile JabyEngine::AutoLBAEntry __section(".header.lbas") lba[static_cast<int>(enum_struct::EndOfRequest)] = {0}
|
||||
#endif //!__JABYENGINE_AUTO_LBA_DECLARATION_HPP__
|
Reference in New Issue
Block a user