Replace all include guard ifdefs with "#pragma once"

This commit is contained in:
lioncash
2014-02-10 13:54:46 -05:00
committed by Lioncash
parent a0a65a2906
commit d2038049f5
462 changed files with 676 additions and 2308 deletions

View File

@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _BOOT_H
#define _BOOT_H
#pragma once
#include <cstdlib>
#include <string>
@ -58,5 +57,3 @@ private:
static bool SetupWiiMemory(IVolume::ECountry country);
};
#endif

View File

@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _BOOT_DOL_H
#define _BOOT_DOL_H
#pragma once
#include "CommonTypes.h"
@ -53,5 +52,3 @@ private:
// Copy sections to internal buffers
void Initialize(u8* _pBuffer, u32 _Size);
};
#endif

View File

@ -1,19 +1,6 @@
// Copyright (C) 2003 Dolphin Project.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 2.0.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License 2.0 for more details.
// A copy of the GPL 2.0 should have been included with the program.
// If not, see http://www.gnu.org/licenses/
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
// Copyright 2014 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#pragma once

View File

@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _ELFREADER_H
#define _ELFREADER_H
#pragma once
#include "ElfTypes.h"
@ -74,6 +73,3 @@ public:
return bRelocate;
}
};
#endif

View File

@ -2,8 +2,7 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#ifndef _ELFTYPES_H
#define _ELFTYPES_H
#pragma once
// ELF Header Constants
@ -280,6 +279,3 @@ struct Elf32_Dyn
Elf32_Addr d_ptr;
} d_un;
};
#endif