Renaming of guard header names to quiet -Wreserved-id-macro

Patch contributed by Sylvain
This commit is contained in:
Sam Lantinga
2016-11-20 21:34:54 -08:00
parent abe9271065
commit 3615633571
117 changed files with 349 additions and 349 deletions

View File

@@ -20,11 +20,11 @@
*/
#include "../SDL_internal.h"
#ifndef _SDL_clipboardevents_c_h
#define _SDL_clipboardevents_c_h
#ifndef SDL_clipboardevents_c_h_
#define SDL_clipboardevents_c_h_
extern int SDL_SendClipboardUpdate(void);
#endif /* _SDL_clipboardevents_c_h */
#endif /* SDL_clipboardevents_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,13 +20,13 @@
*/
#include "../SDL_internal.h"
#ifndef _SDL_dropevents_c_h
#define _SDL_dropevents_c_h
#ifndef SDL_dropevents_c_h_
#define SDL_dropevents_c_h_
extern int SDL_SendDropFile(SDL_Window *window, const char *file);
extern int SDL_SendDropText(SDL_Window *window, const char *text);
extern int SDL_SendDropComplete(SDL_Window *window);
#endif /* _SDL_dropevents_c_h */
#endif /* SDL_dropevents_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../SDL_internal.h"
#ifndef _SDL_gesture_c_h
#define _SDL_gesture_c_h
#ifndef SDL_gesture_c_h_
#define SDL_gesture_c_h_
extern int SDL_GestureAddTouch(SDL_TouchID touchId);
@@ -29,6 +29,6 @@ extern void SDL_GestureProcessEvent(SDL_Event* event);
extern int SDL_RecordGesture(SDL_TouchID touchId);
#endif /* _SDL_gesture_c_h */
#endif /* SDL_gesture_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../SDL_internal.h"
#ifndef _SDL_keyboard_c_h
#define _SDL_keyboard_c_h
#ifndef SDL_keyboard_c_h_
#define SDL_keyboard_c_h_
#include "SDL_keycode.h"
#include "SDL_events.h"
@@ -65,6 +65,6 @@ extern char *SDL_UCS4ToUTF8(Uint32 ch, char *dst);
/* Toggle on or off pieces of the keyboard mod state. */
extern void SDL_ToggleModState(const SDL_Keymod modstate, const SDL_bool toggle);
#endif /* _SDL_keyboard_c_h */
#endif /* SDL_keyboard_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,8 +20,8 @@
*/
#include "../SDL_internal.h"
#ifndef _SDL_mouse_c_h
#define _SDL_mouse_c_h
#ifndef SDL_mouse_c_h_
#define SDL_mouse_c_h_
#include "SDL_mouse.h"
@@ -128,6 +128,6 @@ extern int SDL_SendMouseWheel(SDL_Window * window, SDL_MouseID mouseID, int x, i
/* Shutdown the mouse subsystem */
extern void SDL_MouseQuit(void);
#endif /* _SDL_mouse_c_h */
#endif /* SDL_mouse_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -21,8 +21,8 @@
#include "../SDL_internal.h"
#include "../../include/SDL_touch.h"
#ifndef _SDL_touch_c_h
#define _SDL_touch_c_h
#ifndef SDL_touch_c_h_
#define SDL_touch_c_h_
typedef struct SDL_Touch
{
@@ -56,6 +56,6 @@ extern void SDL_DelTouch(SDL_TouchID id);
/* Shutdown the touch subsystem */
extern void SDL_TouchQuit(void);
#endif /* _SDL_touch_c_h */
#endif /* SDL_touch_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -20,12 +20,12 @@
*/
#include "../SDL_internal.h"
#ifndef _SDL_windowevents_c_h
#define _SDL_windowevents_c_h
#ifndef SDL_windowevents_c_h_
#define SDL_windowevents_c_h_
extern int SDL_SendWindowEvent(SDL_Window * window, Uint8 windowevent,
int data1, int data2);
#endif /* _SDL_windowevents_c_h */
#endif /* SDL_windowevents_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */