Fix inclusion guards.

This commit is contained in:
2021-03-14 19:18:18 +00:00
parent 7cc2dcd989
commit f4ebb40f33
28 changed files with 78 additions and 73 deletions

View File

@@ -22,8 +22,8 @@ Aaru Data Preservation Suite
Copyright (C) 2011-2021 Natalia Portillo
*****************************************************************************/
#ifndef SETTER_SRC_WIN32_ATTR_H_
#define SETTER_SRC_WIN32_ATTR_H_
#ifndef AARU_FSTESTER_SETTER_SRC_WIN32_ATTR_H_
#define AARU_FSTESTER_SETTER_SRC_WIN32_ATTR_H_
#include <windows.h>
@@ -402,4 +402,4 @@ BOOL(WINAPI* WinNtEncryptFileA)(LPCSTR);
#define COMPRESSION_FORMAT_DEFAULT 1
#endif
#endif // SETTER_SRC_WIN32_ATTR_H_
#endif // AARU_FSTESTER_SETTER_SRC_WIN32_ATTR_H_

View File

@@ -22,12 +22,12 @@ Aaru Data Preservation Suite
Copyright (C) 2011-2021 Natalia Portillo
*****************************************************************************/
#ifndef SETTER_SRC_WIN32_LINKS_H_
#define SETTER_SRC_WIN32_LINKS_H_
#ifndef AARU_FSTESTER_SETTER_SRC_WIN32_LINKS_H_
#define AARU_FSTESTER_SETTER_SRC_WIN32_LINKS_H_
#include "win32.h"
static BOOL(WINAPI* WinNtCreateHardLinkA)(LPCSTR, LPCSTR, LPSECURITY_ATTRIBUTES);
static BOOL(WINAPI* WinNtCreateSymbolicLinkA)(LPCSTR, LPCSTR, DWORD);
#endif // SETTER_SRC_WIN32_LINKS_H_
#endif // AARU_FSTESTER_SETTER_SRC_WIN32_LINKS_H_

View File

@@ -22,8 +22,8 @@ Aaru Data Preservation Suite
Copyright (C) 2011-2021 Natalia Portillo
*****************************************************************************/
#ifndef SETTER_SRC_WIN32_OS_H_
#define SETTER_SRC_WIN32_OS_H_
#ifndef AARU_FSTESTER_SETTER_SRC_WIN32_OS_H_
#define AARU_FSTESTER_SETTER_SRC_WIN32_OS_H_
#include <windows.h>
@@ -41,4 +41,4 @@ Copyright (C) 2011-2021 Natalia Portillo
#define VER_PLATFORM_WIN32_NT 2
#endif
#endif // SETTER_SRC_WIN32_OS_H_
#endif // AARU_FSTESTER_SETTER_SRC_WIN32_OS_H_

View File

@@ -22,8 +22,8 @@ Aaru Data Preservation Suite
Copyright (C) 2011-2021 Natalia Portillo
*****************************************************************************/
#ifndef SETTER_SRC_WIN32_RSRCFORK_H_
#define SETTER_SRC_WIN32_RSRCFORK_H_
#ifndef AARU_FSTESTER_SETTER_SRC_WIN32_RSRCFORK_H_
#define AARU_FSTESTER_SETTER_SRC_WIN32_RSRCFORK_H_
const char* tinyAdsText = "This is a tiny Alternate Data Stream.\n";
const char* smallAdsText = "This is a small Alternate Data Stream.\n";
@@ -33,4 +33,4 @@ const char* smallAdsRepeatText = "This message repeats until almost 4KiB.\n";
const char* mediumAdsRepeatText = "This message repeats until almost 64KiB.\n";
const char* bigAdsRepeatText = "This message repeats until more than 64KiB.\n";
#endif // SETTER_SRC_WIN32_RSRCFORK_H_
#endif // AARU_FSTESTER_SETTER_SRC_WIN32_RSRCFORK_H_

View File

@@ -22,8 +22,8 @@ Aaru Data Preservation Suite
Copyright (C) 2011-2021 Natalia Portillo
*****************************************************************************/
#ifndef SETTER_SRC_WIN32_SPARSE_H_
#define SETTER_SRC_WIN32_SPARSE_H_
#ifndef AARU_FSTESTER_SETTER_SRC_WIN32_SPARSE_H_
#define AARU_FSTESTER_SETTER_SRC_WIN32_SPARSE_H_
#include <windows.h>
@@ -46,4 +46,4 @@ typedef struct _WINNT_FILE_ZERO_DATA_INFORMATION
LARGE_INTEGER BeyondFinalZero;
} WINNT_FILE_ZERO_DATA_INFORMATION, *PWINNT_FILE_ZERO_DATA_INFORMATION;
#endif // SETTER_SRC_WIN32_SPARSE_H_
#endif // AARU_FSTESTER_SETTER_SRC_WIN32_SPARSE_H_

View File

@@ -22,8 +22,8 @@ Aaru Data Preservation Suite
Copyright (C) 2011-2021 Natalia Portillo
*****************************************************************************/
#ifndef SETTER_SRC_WIN32_TIME_H_
#define SETTER_SRC_WIN32_TIME_H_
#ifndef AARU_FSTESTER_SETTER_SRC_WIN32_TIME_H_
#define AARU_FSTESTER_SETTER_SRC_WIN32_TIME_H_
#include <windows.h>
@@ -65,4 +65,4 @@ static const win32_time_tests_t win32_timestamps[KNOWN_WIN32_TIMESTAMPS] = {
{"Y2KMTIME", {0, 0}, {0, 0}, {Y2KTIMESTAMP_LO, TIMESTAMP_HI}, "modification", Y2KDATETIME},
};
#endif // SETTER_SRC_WIN32_TIME_H_
#endif // AARU_FSTESTER_SETTER_SRC_WIN32_TIME_H_

View File

@@ -22,8 +22,8 @@ Aaru Data Preservation Suite
Copyright (C) 2011-2021 Natalia Portillo
*****************************************************************************/
#ifndef SETTER_SRC_WIN32_VOLUME_H_
#define SETTER_SRC_WIN32_VOLUME_H_
#ifndef AARU_FSTESTER_SETTER_SRC_WIN32_VOLUME_H_
#define AARU_FSTESTER_SETTER_SRC_WIN32_VOLUME_H_
#include <windows.h>
@@ -159,4 +159,4 @@ BOOL(WINAPI* WinGetDiskFreeSpaceExA)(LPCSTR, PULARGE_INTEGER, PULARGE_INTEGER, P
#define FS_LFN_APIS 0x00004000
#endif
#endif // SETTER_SRC_WIN32_VOLUME_H_
#endif // AARU_FSTESTER_SETTER_SRC_WIN32_VOLUME_H_

View File

@@ -25,8 +25,8 @@ Copyright (C) 2011-2021 Natalia Portillo
#pragma clang diagnostic push
#pragma ide diagnostic ignored "bugprone-reserved-identifier"
#ifndef AARU_FSTESTER_SETTER_WIN32_H
#define AARU_FSTESTER_SETTER_WIN32_H
#ifndef AARU_FSTESTER_SETTER_SRC_WIN32_H
#define AARU_FSTESTER_SETTER_SRC_WIN32_H
#include <windows.h>

View File

@@ -22,8 +22,8 @@ Aaru Data Preservation Suite
Copyright (C) 2011-2021 Natalia Portillo
*****************************************************************************/
#ifndef SETTER_SRC_WIN32_XATTR_H_
#define SETTER_SRC_WIN32_XATTR_H_
#ifndef AARU_FSTESTER_SETTER_SRC_WIN32_XATTR_H_
#define AARU_FSTESTER_SETTER_SRC_WIN32_XATTR_H_
unsigned char CommentsEA[72] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x33, 0x00, 0x2E, 0x43, 0x4F, 0x4D, 0x4D, 0x45, 0x4E, 0x54, 0x53, 0x00,
@@ -247,4 +247,4 @@ typedef struct _FILE_FULL_EA_INFORMATION
static NTSTATUS(NTAPI* NtSetEaFile)(HANDLE, PIO_STATUS_BLOCK, PVOID, ULONG);
static NTSTATUS(NTAPI* NtQueryEaFile)(HANDLE, PIO_STATUS_BLOCK, PVOID, ULONG, BOOLEAN, PVOID, ULONG, PULONG, BOOLEAN);
#endif // SETTER_SRC_WIN32_XATTR_H_
#endif // AARU_FSTESTER_SETTER_SRC_WIN32_XATTR_H_