summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/SDL_error_c.h6
-rw-r--r--src/SDL_internal.h6
-rw-r--r--src/audio/SDL_sysaudio.h6
-rw-r--r--src/audio/alsa/SDL_alsa_audio.h6
-rw-r--r--src/audio/disk/SDL_diskaudio.h6
-rw-r--r--src/audio/dsp/SDL_dspaudio.h6
-rw-r--r--src/audio/dummy/SDL_dummyaudio.h6
-rw-r--r--src/audio/nas/SDL_nasaudio.h6
-rw-r--r--src/audio/pulseaudio/SDL_pulseaudio.h6
-rw-r--r--src/core/linux/SDL_dbus.h6
-rw-r--r--src/core/linux/SDL_evdev.h6
-rw-r--r--src/core/linux/SDL_fcitx.h6
-rw-r--r--src/core/linux/SDL_ibus.h6
-rw-r--r--src/core/linux/SDL_ime.h6
-rw-r--r--src/core/linux/SDL_udev.h6
-rw-r--r--src/dynapi/SDL_dynapi.h4
-rw-r--r--src/events/SDL_clipboardevents_c.h6
-rw-r--r--src/events/SDL_dropevents_c.h6
-rw-r--r--src/events/SDL_gesture_c.h6
-rw-r--r--src/events/SDL_keyboard_c.h6
-rw-r--r--src/events/SDL_mouse_c.h6
-rw-r--r--src/events/SDL_touch_c.h6
-rw-r--r--src/events/SDL_windowevents_c.h6
-rw-r--r--src/haptic/SDL_syshaptic.h6
-rw-r--r--src/joystick/SDL_sysjoystick.h6
-rw-r--r--src/power/SDL_syspower.h6
-rw-r--r--src/render/SDL_sysrender.h6
-rw-r--r--src/thread/SDL_systhread.h6
-rw-r--r--src/thread/SDL_thread_c.h6
-rw-r--r--src/thread/pthread/SDL_sysmutex_c.h6
-rw-r--r--src/video/SDL_blit.h6
-rw-r--r--src/video/SDL_egl_c.h6
-rw-r--r--src/video/SDL_shape_internals.h4
-rw-r--r--src/video/SDL_sysvideo.h6
-rw-r--r--src/video/dummy/SDL_nullvideo.h6
-rw-r--r--src/video/x11/SDL_x11clipboard.h6
-rw-r--r--src/video/x11/SDL_x11dyn.h6
-rw-r--r--src/video/x11/SDL_x11events.h6
-rw-r--r--src/video/x11/SDL_x11keyboard.h6
-rw-r--r--src/video/x11/SDL_x11modes.h6
-rw-r--r--src/video/x11/SDL_x11mouse.h6
-rw-r--r--src/video/x11/SDL_x11opengl.h6
-rw-r--r--src/video/x11/SDL_x11opengles.h6
-rw-r--r--src/video/x11/SDL_x11shape.h6
-rw-r--r--src/video/x11/SDL_x11touch.h6
-rw-r--r--src/video/x11/SDL_x11video.h6
-rw-r--r--src/video/x11/SDL_x11window.h6
-rw-r--r--src/video/x11/SDL_x11xinput2.h6
48 files changed, 142 insertions, 142 deletions
diff --git a/src/SDL_error_c.h b/src/SDL_error_c.h
index 76ccf2b945..b51e8f483f 100644
--- a/src/SDL_error_c.h
+++ b/src/SDL_error_c.h
@@ -24,8 +24,8 @@
error messages
*/
-#ifndef _SDL_error_c_h
-#define _SDL_error_c_h
+#ifndef SDL_error_c_h_
+#define SDL_error_c_h_
#define ERR_MAX_STRLEN 128
#define ERR_MAX_ARGS 5
@@ -59,6 +59,6 @@ typedef struct SDL_error
/* Defined in SDL_thread.c */
extern SDL_error *SDL_GetErrBuf(void);
-#endif /* _SDL_error_c_h */
+#endif /* SDL_error_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/SDL_internal.h b/src/SDL_internal.h
index 026ebb0bde..b0587f679d 100644
--- a/src/SDL_internal.h
+++ b/src/SDL_internal.h
@@ -18,8 +18,8 @@
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
-#ifndef _SDL_internal_h
-#define _SDL_internal_h
+#ifndef SDL_internal_h_
+#define SDL_internal_h_
/* Many of SDL's features require _GNU_SOURCE on various platforms */
#ifndef _GNU_SOURCE
@@ -38,6 +38,6 @@
#include "SDL_config.h"
-#endif /* _SDL_internal_h */
+#endif /* SDL_internal_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/audio/SDL_sysaudio.h b/src/audio/SDL_sysaudio.h
index 320ade0235..007f182f40 100644
--- a/src/audio/SDL_sysaudio.h
+++ b/src/audio/SDL_sysaudio.h
@@ -20,8 +20,8 @@
*/
#include "../SDL_internal.h"
-#ifndef _SDL_sysaudio_h
-#define _SDL_sysaudio_h
+#ifndef SDL_sysaudio_h_
+#define SDL_sysaudio_h_
#include "SDL_mutex.h"
#include "SDL_thread.h"
@@ -272,6 +272,6 @@ extern AudioBootStrap EMSCRIPTENAUDIO_bootstrap;
-#endif /* _SDL_sysaudio_h */
+#endif /* SDL_sysaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/audio/alsa/SDL_alsa_audio.h b/src/audio/alsa/SDL_alsa_audio.h
index 19e4b242b2..98451ac435 100644
--- a/src/audio/alsa/SDL_alsa_audio.h
+++ b/src/audio/alsa/SDL_alsa_audio.h
@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_ALSA_audio_h
-#define _SDL_ALSA_audio_h
+#ifndef SDL_ALSA_audio_h_
+#define SDL_ALSA_audio_h_
#include <alsa/asoundlib.h>
@@ -43,6 +43,6 @@ struct SDL_PrivateAudioData
void (*swizzle_func)(_THIS, void *buffer, Uint32 bufferlen);
};
-#endif /* _SDL_ALSA_audio_h */
+#endif /* SDL_ALSA_audio_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/audio/disk/SDL_diskaudio.h b/src/audio/disk/SDL_diskaudio.h
index ad152a9ceb..30affcdfae 100644
--- a/src/audio/disk/SDL_diskaudio.h
+++ b/src/audio/disk/SDL_diskaudio.h
@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_diskaudio_h
-#define _SDL_diskaudio_h
+#ifndef SDL_diskaudio_h_
+#define SDL_diskaudio_h_
#include "SDL_rwops.h"
#include "../SDL_sysaudio.h"
@@ -37,5 +37,5 @@ struct SDL_PrivateAudioData
Uint8 *mixbuf;
};
-#endif /* _SDL_diskaudio_h */
+#endif /* SDL_diskaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/audio/dsp/SDL_dspaudio.h b/src/audio/dsp/SDL_dspaudio.h
index 0e4acfcaba..aba6f91a65 100644
--- a/src/audio/dsp/SDL_dspaudio.h
+++ b/src/audio/dsp/SDL_dspaudio.h
@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_dspaudio_h
-#define _SDL_dspaudio_h
+#ifndef SDL_dspaudio_h_
+#define SDL_dspaudio_h_
#include "../SDL_sysaudio.h"
@@ -39,5 +39,5 @@ struct SDL_PrivateAudioData
};
#define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */
-#endif /* _SDL_dspaudio_h */
+#endif /* SDL_dspaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/audio/dummy/SDL_dummyaudio.h b/src/audio/dummy/SDL_dummyaudio.h
index b1f88b1cb3..dae8a376ed 100644
--- a/src/audio/dummy/SDL_dummyaudio.h
+++ b/src/audio/dummy/SDL_dummyaudio.h
@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_dummyaudio_h
-#define _SDL_dummyaudio_h
+#ifndef SDL_dummyaudio_h_
+#define SDL_dummyaudio_h_
#include "../SDL_sysaudio.h"
@@ -37,5 +37,5 @@ struct SDL_PrivateAudioData
Uint32 initial_calls;
};
-#endif /* _SDL_dummyaudio_h */
+#endif /* SDL_dummyaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/audio/nas/SDL_nasaudio.h b/src/audio/nas/SDL_nasaudio.h
index 2f46b0b601..6d605a85d3 100644
--- a/src/audio/nas/SDL_nasaudio.h
+++ b/src/audio/nas/SDL_nasaudio.h
@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_nasaudio_h
-#define _SDL_nasaudio_h
+#ifndef SDL_nasaudio_h_
+#define SDL_nasaudio_h_
#ifdef __sgi
#include <nas/audiolib.h>
@@ -51,6 +51,6 @@ struct SDL_PrivateAudioData
struct timeval last_tv;
int buf_free;
};
-#endif /* _SDL_nasaudio_h */
+#endif /* SDL_nasaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/audio/pulseaudio/SDL_pulseaudio.h b/src/audio/pulseaudio/SDL_pulseaudio.h
index e12000f2a0..3a585489f0 100644
--- a/src/audio/pulseaudio/SDL_pulseaudio.h
+++ b/src/audio/pulseaudio/SDL_pulseaudio.h
@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_pulseaudio_h
-#define _SDL_pulseaudio_h
+#ifndef SDL_pulseaudio_h_
+#define SDL_pulseaudio_h_
#include <pulse/simple.h>
@@ -47,6 +47,6 @@ struct SDL_PrivateAudioData
int capturelen;
};
-#endif /* _SDL_pulseaudio_h */
+#endif /* SDL_pulseaudio_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/core/linux/SDL_dbus.h b/src/core/linux/SDL_dbus.h
index c064381a0c..31271384eb 100644
--- a/src/core/linux/SDL_dbus.h
+++ b/src/core/linux/SDL_dbus.h
@@ -21,8 +21,8 @@
#include "../../SDL_internal.h"
-#ifndef _SDL_dbus_h
-#define _SDL_dbus_h
+#ifndef SDL_dbus_h_
+#define SDL_dbus_h_
#ifdef HAVE_DBUS_DBUS_H
#define SDL_USE_LIBDBUS 1
@@ -77,6 +77,6 @@ extern SDL_bool SDL_DBus_ScreensaverInhibit(SDL_bool inhibit);
#endif /* HAVE_DBUS_DBUS_H */
-#endif /* _SDL_dbus_h */
+#endif /* SDL_dbus_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/core/linux/SDL_evdev.h b/src/core/linux/SDL_evdev.h
index 85b193864c..a3fa54ad23 100644
--- a/src/core/linux/SDL_evdev.h
+++ b/src/core/linux/SDL_evdev.h
@@ -21,8 +21,8 @@
#include "../../SDL_internal.h"
-#ifndef _SDL_evdev_h
-#define _SDL_evdev_h
+#ifndef SDL_evdev_h_
+#define SDL_evdev_h_
#ifdef SDL_INPUT_LINUXEV
@@ -34,6 +34,6 @@ extern void SDL_EVDEV_Poll(void);
#endif /* SDL_INPUT_LINUXEV */
-#endif /* _SDL_evdev_h */
+#endif /* SDL_evdev_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/core/linux/SDL_fcitx.h b/src/core/linux/SDL_fcitx.h
index 64020475c0..c0d822adbc 100644
--- a/src/core/linux/SDL_fcitx.h
+++ b/src/core/linux/SDL_fcitx.h
@@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/
-#ifndef _SDL_fcitx_h
-#define _SDL_fcitx_h
+#ifndef SDL_fcitx_h_
+#define SDL_fcitx_h_
#include "../../SDL_internal.h"
@@ -35,6 +35,6 @@ extern SDL_bool SDL_Fcitx_ProcessKeyEvent(Uint32 keysym, Uint32 keycode);
extern void SDL_Fcitx_UpdateTextRect(SDL_Rect *rect);
extern void SDL_Fcitx_PumpEvents();
-#endif /* _SDL_fcitx_h */
+#endif /* SDL_fcitx_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/core/linux/SDL_ibus.h b/src/core/linux/SDL_ibus.h
index 5ee7a8e407..bd22a88e34 100644
--- a/src/core/linux/SDL_ibus.h
+++ b/src/core/linux/SDL_ibus.h
@@ -21,8 +21,8 @@
#include "../../SDL_internal.h"
-#ifndef _SDL_ibus_h
-#define _SDL_ibus_h
+#ifndef SDL_ibus_h_
+#define SDL_ibus_h_
#ifdef HAVE_IBUS_IBUS_H
#define SDL_USE_IBUS 1
@@ -53,6 +53,6 @@ extern void SDL_IBus_PumpEvents();
#endif /* HAVE_IBUS_IBUS_H */
-#endif /* _SDL_ibus_h */
+#endif /* SDL_ibus_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/core/linux/SDL_ime.h b/src/core/linux/SDL_ime.h
index 35c42e2790..256a8bcab8 100644
--- a/src/core/linux/SDL_ime.h
+++ b/src/core/linux/SDL_ime.h
@@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/
-#ifndef _SDL_ime_h
-#define _SDL_ime_h
+#ifndef SDL_ime_h_
+#define SDL_ime_h_
#include "../../SDL_internal.h"
@@ -35,4 +35,4 @@ extern SDL_bool SDL_IME_ProcessKeyEvent(Uint32 keysym, Uint32 keycode);
extern void SDL_IME_UpdateTextRect(SDL_Rect *rect);
extern void SDL_IME_PumpEvents(void);
-#endif /* _SDL_ime_h */
+#endif /* SDL_ime_h_ */
diff --git a/src/core/linux/SDL_udev.h b/src/core/linux/SDL_udev.h
index 9ffbb3252b..58b8e011da 100644
--- a/src/core/linux/SDL_udev.h
+++ b/src/core/linux/SDL_udev.h
@@ -21,8 +21,8 @@
#include "../../SDL_internal.h"
-#ifndef _SDL_udev_h
-#define _SDL_udev_h
+#ifndef SDL_udev_h_
+#define SDL_udev_h_
#if HAVE_LIBUDEV_H
@@ -116,4 +116,4 @@ extern void SDL_UDEV_DelCallback(SDL_UDEV_Callback cb);
#endif /* HAVE_LIBUDEV_H */
-#endif /* _SDL_udev_h */
+#endif /* SDL_udev_h_ */
diff --git a/src/dynapi/SDL_dynapi.h b/src/dynapi/SDL_dynapi.h
index 5e78338f22..0814739c77 100644
--- a/src/dynapi/SDL_dynapi.h
+++ b/src/dynapi/SDL_dynapi.h
@@ -19,8 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/
-#ifndef _SDL_dynapi_h
-#define _SDL_dynapi_h
+#ifndef SDL_dynapi_h_
+#define SDL_dynapi_h_
/* IMPORTANT:
This is the master switch to disabling the dynamic API. We made it so you
diff --git a/src/events/SDL_clipboardevents_c.h b/src/events/SDL_clipboardevents_c.h
index 98e6a38bd4..d1a8ec5a7c 100644
--- a/src/events/SDL_clipboardevents_c.h
+++ b/src/events/SDL_clipboardevents_c.h
@@ -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: */
diff --git a/src/events/SDL_dropevents_c.h b/src/events/SDL_dropevents_c.h
index a7adb85601..485fc57f98 100644
--- a/src/events/SDL_dropevents_c.h
+++ b/src/events/SDL_dropevents_c.h
@@ -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: */
diff --git a/src/events/SDL_gesture_c.h b/src/events/SDL_gesture_c.h
index 3ff542cbb2..6f607b6a84 100644
--- a/src/events/SDL_gesture_c.h
+++ b/src/events/SDL_gesture_c.h
@@ -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: */
diff --git a/src/events/SDL_keyboard_c.h b/src/events/SDL_keyboard_c.h
index b4d1c0739b..c7a39a1a7f 100644
--- a/src/events/SDL_keyboard_c.h
+++ b/src/events/SDL_keyboard_c.h
@@ -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: */
diff --git a/src/events/SDL_mouse_c.h b/src/events/SDL_mouse_c.h
index 06dc887013..2bc07822a2 100644
--- a/src/events/SDL_mouse_c.h
+++ b/src/events/SDL_mouse_c.h
@@ -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: */
diff --git a/src/events/SDL_touch_c.h b/src/events/SDL_touch_c.h
index d025df6e84..6d68b5deb5 100644
--- a/src/events/SDL_touch_c.h
+++ b/src/events/SDL_touch_c.h
@@ -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: */
diff --git a/src/events/SDL_windowevents_c.h b/src/events/SDL_windowevents_c.h
index 2a6a4c0518..f0b4fe79b0 100644
--- a/src/events/SDL_windowevents_c.h
+++ b/src/events/SDL_windowevents_c.h
@@ -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: */
diff --git a/src/haptic/SDL_syshaptic.h b/src/haptic/SDL_syshaptic.h
index a71d3a0967..509042c8e0 100644
--- a/src/haptic/SDL_syshaptic.h
+++ b/src/haptic/SDL_syshaptic.h
@@ -21,8 +21,8 @@
#include "../SDL_internal.h"
-#ifndef _SDL_syshaptic_h
-#define _SDL_syshaptic_h
+#ifndef SDL_syshaptic_h_
+#define SDL_syshaptic_h_
#include "SDL_haptic.h"
@@ -203,6 +203,6 @@ extern int SDL_SYS_HapticUnpause(SDL_Haptic * haptic);
*/
extern int SDL_SYS_HapticStopAll(SDL_Haptic * haptic);
-#endif /* _SDL_syshaptic_h */
+#endif /* SDL_syshaptic_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/joystick/SDL_sysjoystick.h b/src/joystick/SDL_sysjoystick.h
index 0d6d28c144..4c7ba045b6 100644
--- a/src/joystick/SDL_sysjoystick.h
+++ b/src/joystick/SDL_sysjoystick.h
@@ -20,8 +20,8 @@
*/
#include "../SDL_internal.h"
-#ifndef _SDL_sysjoystick_h
-#define _SDL_sysjoystick_h
+#ifndef SDL_sysjoystick_h_
+#define SDL_sysjoystick_h_
/* This is the system specific header for the SDL joystick API */
@@ -114,6 +114,6 @@ extern SDL_JoystickGUID SDL_SYS_JoystickGetGUID(SDL_Joystick * joystick);
extern SDL_bool SDL_SYS_IsXInputGamepad_DeviceIndex(int device_index);
#endif
-#endif /* _SDL_sysjoystick_h */
+#endif /* SDL_sysjoystick_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/power/SDL_syspower.h b/src/power/SDL_syspower.h
index 70b883d60d..50f9b081e7 100644
--- a/src/power/SDL_syspower.h
+++ b/src/power/SDL_syspower.h
@@ -22,8 +22,8 @@
/* These are functions that need to be implemented by a port of SDL */
-#ifndef _SDL_syspower_h
-#define _SDL_syspower_h
+#ifndef SDL_syspower_h_
+#define SDL_syspower_h_
#include "SDL_power.h"
@@ -63,6 +63,6 @@ SDL_bool SDL_GetPowerInfo_Hardwired(SDL_PowerState *, int *, int *);
#endif
#endif
-#endif /* _SDL_syspower_h */
+#endif /* SDL_syspower_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/render/SDL_sysrender.h b/src/render/SDL_sysrender.h
index 378fc4d972..4d240e333a 100644
--- a/src/render/SDL_sysrender.h
+++ b/src/render/SDL_sysrender.h
@@ -20,8 +20,8 @@
*/
#include "../SDL_internal.h"
-#ifndef _SDL_sysrender_h
-#define _SDL_sysrender_h
+#ifndef SDL_sysrender_h_
+#define SDL_sysrender_h_
#include "SDL_render.h"
#include "SDL_events.h"
@@ -200,6 +200,6 @@ extern SDL_RenderDriver SW_RenderDriver;
#endif /* !SDL_RENDER_DISABLED */
-#endif /* _SDL_sysrender_h */
+#endif /* SDL_sysrender_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/thread/SDL_systhread.h b/src/thread/SDL_systhread.h
index 6d19427a3c..c2f19e113d 100644
--- a/src/thread/SDL_systhread.h
+++ b/src/thread/SDL_systhread.h
@@ -22,8 +22,8 @@
/* These are functions that need to be implemented by a port of SDL */
-#ifndef _SDL_systhread_h
-#define _SDL_systhread_h
+#ifndef SDL_systhread_h_
+#define SDL_systhread_h_
#include "SDL_thread.h"
#include "SDL_thread_c.h"
@@ -65,6 +65,6 @@ extern SDL_Thread *
SDL_CreateThreadInternal(int (SDLCALL * fn) (void *), const char *name,
const size_t stacksize, void *data);
-#endif /* _SDL_systhread_h */
+#endif /* SDL_systhread_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/thread/SDL_thread_c.h b/src/thread/SDL_thread_c.h
index e1eb171b27..64a434ea96 100644
--- a/src/thread/SDL_thread_c.h
+++ b/src/thread/SDL_thread_c.h
@@ -20,8 +20,8 @@
*/
#include "../SDL_internal.h"
-#ifndef _SDL_thread_c_h
-#define _SDL_thread_c_h
+#ifndef SDL_thread_c_h_
+#define SDL_thread_c_h_
#include "SDL_thread.h"
@@ -90,6 +90,6 @@ extern SDL_TLSData *SDL_Generic_GetTLSData(void);
*/
extern int SDL_Generic_SetTLSData(SDL_TLSData *data);
-#endif /* _SDL_thread_c_h */
+#endif /* SDL_thread_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/thread/pthread/SDL_sysmutex_c.h b/src/thread/pthread/SDL_sysmutex_c.h
index ee60ca0411..69d3d04add 100644
--- a/src/thread/pthread/SDL_sysmutex_c.h
+++ b/src/thread/pthread/SDL_sysmutex_c.h
@@ -20,13 +20,13 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_mutex_c_h
-#define _SDL_mutex_c_h
+#ifndef SDL_mutex_c_h_
+#define SDL_mutex_c_h_
struct SDL_mutex
{
pthread_mutex_t id;
};
-#endif /* _SDL_mutex_c_h */
+#endif /* SDL_mutex_c_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/SDL_blit.h b/src/video/SDL_blit.h
index e30f8afecb..93e5cfe4cf 100644
--- a/src/video/SDL_blit.h
+++ b/src/video/SDL_blit.h
@@ -20,8 +20,8 @@
*/
#include "../SDL_internal.h"
-#ifndef _SDL_blit_h
-#define _SDL_blit_h
+#ifndef SDL_blit_h_
+#define SDL_blit_h_
#include "SDL_cpuinfo.h"
#include "SDL_endian.h"
@@ -547,6 +547,6 @@ do { \
#pragma warning(disable: 4550)
#endif
-#endif /* _SDL_blit_h */
+#endif /* SDL_blit_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/SDL_egl_c.h b/src/video/SDL_egl_c.h
index c683dffa77..72e2cebb24 100644
--- a/src/video/SDL_egl_c.h
+++ b/src/video/SDL_egl_c.h
@@ -20,8 +20,8 @@
*/
#include "../SDL_internal.h"
-#ifndef _SDL_egl_h
-#define _SDL_egl_h
+#ifndef SDL_egl_h_
+#define SDL_egl_h_
#if SDL_VIDEO_OPENGL_EGL
@@ -125,6 +125,6 @@ BACKEND ## _GLES_CreateContext(_THIS, SDL_Window * window) \
#endif /* SDL_VIDEO_OPENGL_EGL */
-#endif /* _SDL_egl_h */
+#endif /* SDL_egl_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/SDL_shape_internals.h b/src/video/SDL_shape_internals.h
index bdb0ee91be..af12011efd 100644
--- a/src/video/SDL_shape_internals.h
+++ b/src/video/SDL_shape_internals.h
@@ -20,8 +20,8 @@
*/
#include "../SDL_internal.h"
-#ifndef _SDL_shape_internals_h
-#define _SDL_shape_internals_h
+#ifndef SDL_shape_internals_h_
+#define SDL_shape_internals_h_
#include "SDL_rect.h"
#include "SDL_shape.h"
diff --git a/src/video/SDL_sysvideo.h b/src/video/SDL_sysvideo.h
index cd2ed2a7e2..b01faae412 100644
--- a/src/video/SDL_sysvideo.h
+++ b/src/video/SDL_sysvideo.h
@@ -20,8 +20,8 @@
*/
#include "../SDL_internal.h"
-#ifndef _SDL_sysvideo_h
-#define _SDL_sysvideo_h
+#ifndef SDL_sysvideo_h_
+#define SDL_sysvideo_h_
#include "SDL_messagebox.h"
#include "SDL_shape.h"
@@ -443,6 +443,6 @@ extern SDL_bool SDL_ShouldAllowTopmost(void);
extern float SDL_ComputeDiagonalDPI(int hpix, int vpix, float hinches, float vinches);
-#endif /* _SDL_sysvideo_h */
+#endif /* SDL_sysvideo_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/dummy/SDL_nullvideo.h b/src/video/dummy/SDL_nullvideo.h
index 0126ba1837..9f46026011 100644
--- a/src/video/dummy/SDL_nullvideo.h
+++ b/src/video/dummy/SDL_nullvideo.h
@@ -20,11 +20,11 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_nullvideo_h
-#define _SDL_nullvideo_h
+#ifndef SDL_nullvideo_h_
+#define SDL_nullvideo_h_
#include "../SDL_sysvideo.h"
-#endif /* _SDL_nullvideo_h */
+#endif /* SDL_nullvideo_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/x11/SDL_x11clipboard.h b/src/video/x11/SDL_x11clipboard.h
index 15dae7dfdc..5211601578 100644
--- a/src/video/x11/SDL_x11clipboard.h
+++ b/src/video/x11/SDL_x11clipboard.h
@@ -20,14 +20,14 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_x11clipboard_h
-#define _SDL_x11clipboard_h
+#ifndef SDL_x11clipboard_h_
+#define SDL_x11clipboard_h_
extern int X11_SetClipboardText(_THIS, const char *text);
extern char *X11_GetClipboardText(_THIS);
extern SDL_bool X11_HasClipboardText(_THIS);
extern Atom X11_GetSDLCutBufferClipboardType(Display *display);
-#endif /* _SDL_x11clipboard_h */
+#endif /* SDL_x11clipboard_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/x11/SDL_x11dyn.h b/src/video/x11/SDL_x11dyn.h
index be1ddaa1c1..6a12778169 100644
--- a/src/video/x11/SDL_x11dyn.h
+++ b/src/video/x11/SDL_x11dyn.h
@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_x11dyn_h
-#define _SDL_x11dyn_h
+#ifndef SDL_x11dyn_h_
+#define SDL_x11dyn_h_
#include <X11/Xlib.h>
#include <X11/Xutil.h>
@@ -107,5 +107,5 @@ extern SDL_DYNX11FN_XGetICValues X11_XGetICValues;
}
#endif
-#endif /* !defined _SDL_x11dyn_h */
+#endif /* !defined SDL_x11dyn_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/x11/SDL_x11events.h b/src/video/x11/SDL_x11events.h
index 024fca3f45..b8d99dbd14 100644
--- a/src/video/x11/SDL_x11events.h
+++ b/src/video/x11/SDL_x11events.h
@@ -20,12 +20,12 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_x11events_h
-#define _SDL_x11events_h
+#ifndef SDL_x11events_h_
+#define SDL_x11events_h_
extern void X11_PumpEvents(_THIS);
extern void X11_SuspendScreenSaver(_THIS);
-#endif /* _SDL_x11events_h */
+#endif /* SDL_x11events_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/x11/SDL_x11keyboard.h b/src/video/x11/SDL_x11keyboard.h
index 6ce3c9cce6..0bd39beddf 100644
--- a/src/video/x11/SDL_x11keyboard.h
+++ b/src/video/x11/SDL_x11keyboard.h
@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_x11keyboard_h
-#define _SDL_x11keyboard_h
+#ifndef SDL_x11keyboard_h_
+#define SDL_x11keyboard_h_
extern int X11_InitKeyboard(_THIS);
extern void X11_UpdateKeymap(_THIS);
@@ -31,6 +31,6 @@ extern void X11_StopTextInput(_THIS);
extern void X11_SetTextInputRect(_THIS, SDL_Rect *rect);
extern KeySym X11_KeyCodeToSym(_THIS, KeyCode, unsigned char group);
-#endif /* _SDL_x11keyboard_h */
+#endif /* SDL_x11keyboard_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/x11/SDL_x11modes.h b/src/video/x11/SDL_x11modes.h
index 4f47f3b5c9..98a6eec5bb 100644
--- a/src/video/x11/SDL_x11modes.h
+++ b/src/video/x11/SDL_x11modes.h
@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_x11modes_h
-#define _SDL_x11modes_h
+#ifndef SDL_x11modes_h_
+#define SDL_x11modes_h_
typedef struct
{
@@ -80,6 +80,6 @@ extern int X11_GetDisplayBounds(_THIS, SDL_VideoDisplay * sdl_display, SDL_Rect
extern int X11_GetDisplayUsableBounds(_THIS, SDL_VideoDisplay * sdl_display, SDL_Rect * rect);
extern int X11_GetDisplayDPI(_THIS, SDL_VideoDisplay * sdl_display, float * ddpi, float * hdpi, float * vdpi);
-#endif /* _SDL_x11modes_h */
+#endif /* SDL_x11modes_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/x11/SDL_x11mouse.h b/src/video/x11/SDL_x11mouse.h
index d31d6b7220..0e33750849 100644
--- a/src/video/x11/SDL_x11mouse.h
+++ b/src/video/x11/SDL_x11mouse.h
@@ -20,12 +20,12 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_x11mouse_h
-#define _SDL_x11mouse_h
+#ifndef SDL_x11mouse_h_
+#define SDL_x11mouse_h_
extern void X11_InitMouse(_THIS);
extern void X11_QuitMouse(_THIS);
-#endif /* _SDL_x11mouse_h */
+#endif /* SDL_x11mouse_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/x11/SDL_x11opengl.h b/src/video/x11/SDL_x11opengl.h
index 86e77d7da1..2bc7dedcf4 100644
--- a/src/video/x11/SDL_x11opengl.h
+++ b/src/video/x11/SDL_x11opengl.h
@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_x11opengl_h
-#define _SDL_x11opengl_h
+#ifndef SDL_x11opengl_h_
+#define SDL_x11opengl_h_
#if SDL_VIDEO_OPENGL_GLX
#include "SDL_opengl.h"
@@ -68,6 +68,6 @@ extern void X11_GL_DeleteContext(_THIS, SDL_GLContext context);
#endif /* SDL_VIDEO_OPENGL_GLX */
-#endif /* _SDL_x11opengl_h */
+#endif /* SDL_x11opengl_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/x11/SDL_x11opengles.h b/src/video/x11/SDL_x11opengles.h
index 5ce7480f38..cce8332995 100644
--- a/src/video/x11/SDL_x11opengles.h
+++ b/src/video/x11/SDL_x11opengles.h
@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_x11opengles_h
-#define _SDL_x11opengles_h
+#ifndef SDL_x11opengles_h_
+#define SDL_x11opengles_h_
#if SDL_VIDEO_OPENGL_EGL
@@ -51,6 +51,6 @@ extern int X11_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext contex
#endif /* SDL_VIDEO_OPENGL_EGL */
-#endif /* _SDL_x11opengles_h */
+#endif /* SDL_x11opengles_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/x11/SDL_x11shape.h b/src/video/x11/SDL_x11shape.h
index cd88ab70f5..434e373901 100644
--- a/src/video/x11/SDL_x11shape.h
+++ b/src/video/x11/SDL_x11shape.h
@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_x11shape_h
-#define _SDL_x11shape_h
+#ifndef SDL_x11shape_h_
+#define SDL_x11shape_h_
#include "SDL_video.h"
#include "SDL_shape.h"
@@ -37,4 +37,4 @@ extern SDL_WindowShaper* X11_CreateShaper(SDL_Window* window);
extern int X11_ResizeWindowShape(SDL_Window* window);
extern int X11_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shapeMode);
-#endif /* _SDL_x11shape_h */
+#endif /* SDL_x11shape_h_ */
diff --git a/src/video/x11/SDL_x11touch.h b/src/video/x11/SDL_x11touch.h
index 7f8d18e1c4..29a84b1fad 100644
--- a/src/video/x11/SDL_x11touch.h
+++ b/src/video/x11/SDL_x11touch.h
@@ -20,12 +20,12 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_x11touch_h
-#define _SDL_x11touch_h
+#ifndef SDL_x11touch_h_
+#define SDL_x11touch_h_
extern void X11_InitTouch(_THIS);
extern void X11_QuitTouch(_THIS);
-#endif /* _SDL_x11touch_h */
+#endif /* SDL_x11touch_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/x11/SDL_x11video.h b/src/video/x11/SDL_x11video.h
index 798d14f561..a853e4290d 100644
--- a/src/video/x11/SDL_x11video.h
+++ b/src/video/x11/SDL_x11video.h
@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_x11video_h
-#define _SDL_x11video_h
+#ifndef SDL_x11video_h_
+#define SDL_x11video_h_
#include "SDL_keycode.h"
@@ -141,6 +141,6 @@ typedef struct SDL_VideoData
extern SDL_bool X11_UseDirectColorVisuals(void);
-#endif /* _SDL_x11video_h */
+#endif /* SDL_x11video_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/x11/SDL_x11window.h b/src/video/x11/SDL_x11window.h
index 50a739dad9..94b47c8ca2 100644
--- a/src/video/x11/SDL_x11window.h
+++ b/src/video/x11/SDL_x11window.h
@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_x11window_h
-#define _SDL_x11window_h
+#ifndef SDL_x11window_h_
+#define SDL_x11window_h_
/* We need to queue the focus in/out changes because they may occur during
video mode changes and we can respond to them by triggering more mode
@@ -105,6 +105,6 @@ extern SDL_bool X11_GetWindowWMInfo(_THIS, SDL_Window * window,
struct SDL_SysWMinfo *info);
extern int X11_SetWindowHitTest(SDL_Window *window, SDL_bool enabled);
-#endif /* _SDL_x11window_h */
+#endif /* SDL_x11window_h_ */
/* vi: set ts=4 sw=4 expandtab: */
diff --git a/src/video/x11/SDL_x11xinput2.h b/src/video/x11/SDL_x11xinput2.h
index ed8dd1a4a0..f9051f5690 100644
--- a/src/video/x11/SDL_x11xinput2.h
+++ b/src/video/x11/SDL_x11xinput2.h
@@ -20,8 +20,8 @@
*/
#include "../../SDL_internal.h"
-#ifndef _SDL_x11xinput2_h
-#define _SDL_x11xinput2_h
+#ifndef SDL_x11xinput2_h_
+#define SDL_x11xinput2_h_
#ifndef SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS
/* Define XGenericEventCookie as forward declaration when
@@ -37,6 +37,6 @@ extern int X11_Xinput2IsInitialized(void);
extern int X11_Xinput2IsMultitouchSupported(void);
extern void X11_Xinput2SelectTouch(_THIS, SDL_Window *window);
-#endif /* _SDL_x11xinput2_h */
+#endif /* SDL_x11xinput2_h_ */
/* vi: set ts=4 sw=4 expandtab: */