Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Renaming of guard header names to quiet -Wreserved-id-macro
Patch contributed by Sylvain
  • Loading branch information
slouken committed Nov 21, 2016
1 parent abe9271 commit 3615633
Show file tree
Hide file tree
Showing 117 changed files with 349 additions and 349 deletions.
6 changes: 3 additions & 3 deletions include/SDL.h
Expand Up @@ -26,8 +26,8 @@
*/


#ifndef _SDL_H
#define _SDL_H
#ifndef SDL_h_
#define SDL_h_

#include "SDL_main.h"
#include "SDL_stdinc.h"
Expand Down Expand Up @@ -127,6 +127,6 @@ extern DECLSPEC void SDLCALL SDL_Quit(void);
#endif
#include "close_code.h"

#endif /* _SDL_H */
#endif /* SDL_h_ */

/* vi: set ts=4 sw=4 expandtab: */
6 changes: 3 additions & 3 deletions include/SDL_assert.h
Expand Up @@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/

#ifndef _SDL_assert_h
#define _SDL_assert_h
#ifndef SDL_assert_h_
#define SDL_assert_h_

#include "SDL_config.h"

Expand Down Expand Up @@ -284,6 +284,6 @@ extern DECLSPEC void SDLCALL SDL_ResetAssertionReport(void);
#endif
#include "close_code.h"

#endif /* _SDL_assert_h */
#endif /* SDL_assert_h_ */

/* vi: set ts=4 sw=4 expandtab: */
6 changes: 3 additions & 3 deletions include/SDL_atomic.h
Expand Up @@ -56,8 +56,8 @@
* All of the atomic operations that modify memory are full memory barriers.
*/

#ifndef _SDL_atomic_h_
#define _SDL_atomic_h_
#ifndef SDL_atomic_h_
#define SDL_atomic_h_

#include "SDL_stdinc.h"
#include "SDL_platform.h"
Expand Down Expand Up @@ -263,6 +263,6 @@ extern DECLSPEC void* SDLCALL SDL_AtomicGetPtr(void **a);

#include "close_code.h"

#endif /* _SDL_atomic_h_ */
#endif /* SDL_atomic_h_ */

/* vi: set ts=4 sw=4 expandtab: */
6 changes: 3 additions & 3 deletions include/SDL_audio.h
Expand Up @@ -25,8 +25,8 @@
* Access to the raw audio mixing buffer for the SDL library.
*/

#ifndef _SDL_audio_h
#define _SDL_audio_h
#ifndef SDL_audio_h_
#define SDL_audio_h_

#include "SDL_stdinc.h"
#include "SDL_error.h"
Expand Down Expand Up @@ -667,6 +667,6 @@ extern DECLSPEC void SDLCALL SDL_CloseAudioDevice(SDL_AudioDeviceID dev);
#endif
#include "close_code.h"

#endif /* _SDL_audio_h */
#endif /* SDL_audio_h_ */

/* vi: set ts=4 sw=4 expandtab: */
6 changes: 3 additions & 3 deletions include/SDL_bits.h
Expand Up @@ -25,8 +25,8 @@
* Functions for fiddling with bits and bitmasks.
*/

#ifndef _SDL_bits_h
#define _SDL_bits_h
#ifndef SDL_bits_h_
#define SDL_bits_h_

#include "SDL_stdinc.h"

Expand Down Expand Up @@ -92,6 +92,6 @@ SDL_MostSignificantBitIndex32(Uint32 x)
#endif
#include "close_code.h"

#endif /* _SDL_bits_h */
#endif /* SDL_bits_h_ */

/* vi: set ts=4 sw=4 expandtab: */
6 changes: 3 additions & 3 deletions include/SDL_blendmode.h
Expand Up @@ -25,8 +25,8 @@
* Header file declaring the SDL_BlendMode enumeration
*/

#ifndef _SDL_blendmode_h
#define _SDL_blendmode_h
#ifndef SDL_blendmode_h_
#define SDL_blendmode_h_

#include "begin_code.h"
/* Set up for C function definitions, even when using C++ */
Expand Down Expand Up @@ -58,6 +58,6 @@ typedef enum
#endif
#include "close_code.h"

#endif /* _SDL_blendmode_h */
#endif /* SDL_blendmode_h_ */

/* vi: set ts=4 sw=4 expandtab: */
6 changes: 3 additions & 3 deletions include/SDL_clipboard.h
Expand Up @@ -25,8 +25,8 @@
* Include file for SDL clipboard handling
*/

#ifndef _SDL_clipboard_h
#define _SDL_clipboard_h
#ifndef SDL_clipboard_h_
#define SDL_clipboard_h_

#include "SDL_stdinc.h"

Expand Down Expand Up @@ -66,6 +66,6 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText(void);
#endif
#include "close_code.h"

#endif /* _SDL_clipboard_h */
#endif /* SDL_clipboard_h_ */

/* vi: set ts=4 sw=4 expandtab: */
6 changes: 3 additions & 3 deletions include/SDL_config.h
Expand Up @@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/

#ifndef _SDL_config_h
#define _SDL_config_h
#ifndef SDL_config_h_
#define SDL_config_h_

#include "SDL_platform.h"

Expand Down Expand Up @@ -50,4 +50,4 @@
#error Wrong SDL_config.h, check your include path?
#endif

#endif /* _SDL_config_h */
#endif /* SDL_config_h_ */
6 changes: 3 additions & 3 deletions include/SDL_config.h.cmake
Expand Up @@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/

#ifndef _SDL_config_h
#define _SDL_config_h
#ifndef SDL_config_h_
#define SDL_config_h_

/**
* \file SDL_config.h.in
Expand Down Expand Up @@ -419,4 +419,4 @@ typedef unsigned int uintptr_t;
# endif /* !_STDINT_H_ && !HAVE_STDINT_H */
#endif /* __WIN32__ */

#endif /* _SDL_config_h */
#endif /* SDL_config_h_ */
6 changes: 3 additions & 3 deletions include/SDL_config.h.in
Expand Up @@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/

#ifndef _SDL_config_h
#define _SDL_config_h
#ifndef SDL_config_h_
#define SDL_config_h_

/**
* \file SDL_config.h.in
Expand Down Expand Up @@ -360,4 +360,4 @@
/* Enable ime support */
#undef SDL_USE_IME

#endif /* _SDL_config_h */
#endif /* SDL_config_h_ */
6 changes: 3 additions & 3 deletions include/SDL_config_android.h
Expand Up @@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/

#ifndef _SDL_config_android_h
#define _SDL_config_android_h
#ifndef SDL_config_android_h_
#define SDL_config_android_h_

#include "SDL_platform.h"

Expand Down Expand Up @@ -145,4 +145,4 @@
/* Enable the filesystem driver */
#define SDL_FILESYSTEM_ANDROID 1

#endif /* _SDL_config_android_h */
#endif /* SDL_config_android_h_ */
6 changes: 3 additions & 3 deletions include/SDL_config_iphoneos.h
Expand Up @@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/

#ifndef _SDL_config_iphoneos_h
#define _SDL_config_iphoneos_h
#ifndef SDL_config_iphoneos_h_
#define SDL_config_iphoneos_h_

#include "SDL_platform.h"

Expand Down Expand Up @@ -155,4 +155,4 @@
/* enable filesystem support */
#define SDL_FILESYSTEM_COCOA 1

#endif /* _SDL_config_iphoneos_h */
#endif /* SDL_config_iphoneos_h_ */
6 changes: 3 additions & 3 deletions include/SDL_config_macosx.h
Expand Up @@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/

#ifndef _SDL_config_macosx_h
#define _SDL_config_macosx_h
#ifndef SDL_config_macosx_h_
#define SDL_config_macosx_h_

#include "SDL_platform.h"

Expand Down Expand Up @@ -185,4 +185,4 @@
#define SDL_ALTIVEC_BLITTERS 1
#endif

#endif /* _SDL_config_macosx_h */
#endif /* SDL_config_macosx_h_ */
6 changes: 3 additions & 3 deletions include/SDL_config_minimal.h
Expand Up @@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/

#ifndef _SDL_config_minimal_h
#define _SDL_config_minimal_h
#ifndef SDL_config_minimal_h_
#define SDL_config_minimal_h_

#include "SDL_platform.h"

Expand Down Expand Up @@ -78,4 +78,4 @@ typedef unsigned long uintptr_t;
/* Enable the dummy filesystem driver (src/filesystem/dummy/\*.c) */
#define SDL_FILESYSTEM_DUMMY 1

#endif /* _SDL_config_minimal_h */
#endif /* SDL_config_minimal_h_ */
6 changes: 3 additions & 3 deletions include/SDL_config_pandora.h
Expand Up @@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/

#ifndef _SDL_config_h
#define _SDL_config_h
#ifndef SDL_config_h_
#define SDL_config_h_

/* This is a set of defines to configure the SDL features */

Expand Down Expand Up @@ -124,4 +124,4 @@
#define SDL_VIDEO_RENDER_OGL_ES 1
#define SDL_VIDEO_OPENGL_ES 1

#endif /* _SDL_config_h */
#endif /* SDL_config_h_ */
6 changes: 3 additions & 3 deletions include/SDL_config_psp.h
Expand Up @@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/

#ifndef _SDL_config_psp_h
#define _SDL_config_psp_h
#ifndef SDL_config_psp_h_
#define SDL_config_psp_h_

#include "SDL_platform.h"

Expand Down Expand Up @@ -140,4 +140,4 @@
#define SDL_LOADSO_DISABLED 1


#endif /* _SDL_config_psp_h */
#endif /* SDL_config_psp_h_ */
6 changes: 3 additions & 3 deletions include/SDL_config_windows.h
Expand Up @@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/

#ifndef _SDL_config_windows_h
#define _SDL_config_windows_h
#ifndef SDL_config_windows_h_
#define SDL_config_windows_h_

#include "SDL_platform.h"

Expand Down Expand Up @@ -218,4 +218,4 @@ typedef unsigned int uintptr_t;
#define SDL_ASSEMBLY_ROUTINES 1
#endif

#endif /* _SDL_config_windows_h */
#endif /* SDL_config_windows_h_ */
6 changes: 3 additions & 3 deletions include/SDL_config_winrt.h
Expand Up @@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/

#ifndef _SDL_config_winrt_h
#define _SDL_config_winrt_h
#ifndef SDL_config_winrt_h_
#define SDL_config_winrt_h_

#include "SDL_platform.h"

Expand Down Expand Up @@ -211,4 +211,4 @@ typedef unsigned int uintptr_t;
#define SDL_ASSEMBLY_ROUTINES 1
#endif

#endif /* _SDL_config_winrt_h */
#endif /* SDL_config_winrt_h_ */
6 changes: 3 additions & 3 deletions include/SDL_config_wiz.h
Expand Up @@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/

#ifndef _SDL_config_h
#define _SDL_config_h
#ifndef SDL_config_h_
#define SDL_config_h_

/* This is a set of defines to configure the SDL features */

Expand Down Expand Up @@ -117,4 +117,4 @@
#define SDL_VIDEO_RENDER_OGL_ES 1
#define SDL_VIDEO_OPENGL_ES 1

#endif /* _SDL_config_h */
#endif /* SDL_config_h_ */
6 changes: 3 additions & 3 deletions include/SDL_cpuinfo.h
Expand Up @@ -25,8 +25,8 @@
* CPU feature detection for SDL.
*/

#ifndef _SDL_cpuinfo_h
#define _SDL_cpuinfo_h
#ifndef SDL_cpuinfo_h_
#define SDL_cpuinfo_h_

#include "SDL_stdinc.h"

Expand Down Expand Up @@ -161,6 +161,6 @@ extern DECLSPEC int SDLCALL SDL_GetSystemRAM(void);
#endif
#include "close_code.h"

#endif /* _SDL_cpuinfo_h */
#endif /* SDL_cpuinfo_h_ */

/* vi: set ts=4 sw=4 expandtab: */
6 changes: 3 additions & 3 deletions include/SDL_endian.h
Expand Up @@ -25,8 +25,8 @@
* Functions for reading and writing endian-specific values
*/

#ifndef _SDL_endian_h
#define _SDL_endian_h
#ifndef SDL_endian_h_
#define SDL_endian_h_

#include "SDL_stdinc.h"

Expand Down Expand Up @@ -234,6 +234,6 @@ SDL_SwapFloat(float x)
#endif
#include "close_code.h"

#endif /* _SDL_endian_h */
#endif /* SDL_endian_h_ */

/* vi: set ts=4 sw=4 expandtab: */
6 changes: 3 additions & 3 deletions include/SDL_error.h
Expand Up @@ -25,8 +25,8 @@
* Simple error message routines for SDL.
*/

#ifndef _SDL_error_h
#define _SDL_error_h
#ifndef SDL_error_h_
#define SDL_error_h_

#include "SDL_stdinc.h"

Expand Down Expand Up @@ -71,6 +71,6 @@ extern DECLSPEC int SDLCALL SDL_Error(SDL_errorcode code);
#endif
#include "close_code.h"

#endif /* _SDL_error_h */
#endif /* SDL_error_h_ */

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit 3615633

Please sign in to comment.