mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Refactor include guards for consistency across header files
This commit is contained in:
@@ -16,14 +16,14 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBAARUFORMAT_AARU_H
|
||||
#define LIBAARUFORMAT_AARU_H
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#pragma clang diagnostic push
|
||||
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
||||
#endif
|
||||
|
||||
#ifndef LIBAARUFORMAT_AARU_H
|
||||
#define LIBAARUFORMAT_AARU_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// TODO: Generate automatically from C#
|
||||
@@ -1173,8 +1173,8 @@ typedef enum
|
||||
|
||||
// NOLINTEND(readability-identifier-naming)
|
||||
|
||||
#endif // LIBAARUFORMAT_AARU_H
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // LIBAARUFORMAT_AARU_H
|
||||
@@ -16,14 +16,14 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBAARUFORMAT_CONSTS_H
|
||||
#define LIBAARUFORMAT_CONSTS_H
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#pragma clang diagnostic push
|
||||
#pragma ide diagnostic ignored "OCUnusedMacroInspection"
|
||||
#endif
|
||||
|
||||
#ifndef LIBAARUFORMAT_CONSTS_H
|
||||
#define LIBAARUFORMAT_CONSTS_H
|
||||
|
||||
/** Magic identidier = "DICMFRMT". */
|
||||
#define DIC_MAGIC 0x544D52464D434944
|
||||
/** Magic identidier = "AARUFRMT". */
|
||||
@@ -59,8 +59,8 @@
|
||||
#define CRC64_ECMA_POLY 0xC96C5795D7870F42
|
||||
#define CRC64_ECMA_SEED 0xFFFFFFFFFFFFFFFF
|
||||
|
||||
#endif // LIBAARUFORMAT_CONSTS_H
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // LIBAARUFORMAT_CONSTS_H
|
||||
@@ -16,14 +16,14 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBAARUFORMAT_ENUMS_H
|
||||
#define LIBAARUFORMAT_ENUMS_H
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#pragma clang diagnostic push
|
||||
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
||||
#endif
|
||||
|
||||
#ifndef LIBAARUFORMAT_ENUMS_H
|
||||
#define LIBAARUFORMAT_ENUMS_H
|
||||
|
||||
/** List of known compression types */
|
||||
typedef enum
|
||||
{
|
||||
@@ -324,8 +324,8 @@ typedef enum
|
||||
SectorStatusUnencrypted = 0xA
|
||||
} SectorStatus;
|
||||
|
||||
#endif // LIBAARUFORMAT_ENUMS_H
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // LIBAARUFORMAT_ENUMS_H
|
||||
|
||||
Reference in New Issue
Block a user