Switch to #pragma once in a few places.

Doesn't really affect git history much to change these.
This commit is contained in:
Unknown W. Brackets 2015-03-02 22:34:51 -08:00
parent 3e1e8f1bc0
commit 98d7afae89
6 changed files with 6 additions and 25 deletions

View File

@ -15,8 +15,7 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#ifndef _CORETIMING_H
#define _CORETIMING_H
#pragma once
#include <string>
#include "Common/CommonTypes.h"
@ -128,5 +127,3 @@ namespace CoreTiming
extern int slicelength;
}; // end of namespace
#endif

View File

@ -21,8 +21,7 @@
// This is a direct port of Coldbird's code from http://code.google.com/p/aemu/
// All credit goes to him!
#ifndef _PROADHOCSERVER_H_
#define _PROADHOCSERVER_H_
#pragma once
#include <stdint.h>
#include <time.h>
@ -383,5 +382,3 @@ int proAdhocServerThread(int port); // (int argc, char * argv[])
//extern int _status;
extern bool adhocServerRunning;
extern std::thread adhocServerThread;
#endif

View File

@ -15,12 +15,8 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#ifndef _JIT64ASM_H
#define _JIT64ASM_H
#pragma once
#include "Core/MIPS/MIPS.h"
// Runtime generated assembly routines, like the Dispatcher.
#endif // _JIT64ASM_H

View File

@ -15,8 +15,7 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#ifndef _JIT64ASM_H
#define _JIT64ASM_H
#pragma once
#include "Common/x64Emitter.h"
#include "Core/MIPS/MIPS.h"
@ -56,5 +55,3 @@ public:
const u8 *breakpointBailout;
};
#endif // _JIT64ASM_H

View File

@ -15,8 +15,7 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#ifndef _GE_CONSTANTS_H
#define _GE_CONSTANTS_H
#pragma once
enum GECommand
{
@ -564,5 +563,3 @@ enum GEPaletteFormat
GE_CMODE_16BIT_ABGR4444,
GE_CMODE_32BIT_ABGR8888,
};
#endif

View File

@ -1,7 +1,6 @@
// NOTE: Apologies for the quality of this code, this is really from pre-opensource Dolphin - that is, 2003.
#ifndef _DISASM_H
#define _DISASM_H
#pragma once
#include "Windows/W32Util/DialogManager.h"
#include "Windows/W32Util/TabControl.h"
@ -64,5 +63,3 @@ public:
void Goto(u32 addr);
void NotifyMapLoaded();
};
#endif