Browse Source

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

Sam Lantinga 8 years ago
parent
commit
0d011ec66d
100 changed files with 320 additions and 304 deletions
  1. 3 3
      src/audio/android/SDL_androidaudio.h
  2. 3 3
      src/audio/arts/SDL_artsaudio.h
  3. 4 3
      src/audio/coreaudio/SDL_coreaudio.h
  4. 3 3
      src/audio/directsound/SDL_directsound.h
  5. 4 3
      src/audio/emscripten/SDL_emscriptenaudio.h
  6. 4 3
      src/audio/esd/SDL_esdaudio.h
  7. 4 3
      src/audio/fusionsound/SDL_fsaudio.h
  8. 3 3
      src/audio/haiku/SDL_haikuaudio.h
  9. 3 3
      src/audio/jack/SDL_jackaudio.h
  10. 5 3
      src/audio/nacl/SDL_naclaudio.h
  11. 3 3
      src/audio/netbsd/SDL_netbsdaudio.h
  12. 3 3
      src/audio/paudio/SDL_paudio.h
  13. 5 5
      src/audio/psp/SDL_pspaudio.h
  14. 3 3
      src/audio/sndio/SDL_sndioaudio.h
  15. 3 3
      src/audio/sun/SDL_sunaudio.h
  16. 3 3
      src/audio/winmm/SDL_winmm.h
  17. 3 3
      src/audio/xaudio2/SDL_xaudio2.h
  18. 3 3
      src/core/windows/SDL_directx.h
  19. 3 3
      src/core/windows/SDL_xinput.h
  20. 3 3
      src/core/winrt/SDL_winrtapp_common.h
  21. 3 3
      src/core/winrt/SDL_winrtapp_xaml.h
  22. 3 3
      src/haptic/windows/SDL_windowshaptic_c.h
  23. 3 3
      src/joystick/android/SDL_sysjoystick_c.h
  24. 3 3
      src/thread/windows/SDL_systhread_c.h
  25. 3 3
      src/video/android/SDL_androidclipboard.h
  26. 3 3
      src/video/android/SDL_androidgl.h
  27. 3 3
      src/video/android/SDL_androidmouse.h
  28. 3 3
      src/video/android/SDL_androidvideo.h
  29. 3 3
      src/video/android/SDL_androidvulkan.h
  30. 3 3
      src/video/android/SDL_androidwindow.h
  31. 3 3
      src/video/cocoa/SDL_cocoaclipboard.h
  32. 3 3
      src/video/cocoa/SDL_cocoaevents.h
  33. 3 3
      src/video/cocoa/SDL_cocoakeyboard.h
  34. 3 3
      src/video/cocoa/SDL_cocoametalview.h
  35. 3 3
      src/video/cocoa/SDL_cocoamodes.h
  36. 3 3
      src/video/cocoa/SDL_cocoamouse.h
  37. 3 3
      src/video/cocoa/SDL_cocoamousetap.h
  38. 3 3
      src/video/cocoa/SDL_cocoaopengl.h
  39. 5 3
      src/video/cocoa/SDL_cocoashape.h
  40. 3 3
      src/video/cocoa/SDL_cocoavideo.h
  41. 3 3
      src/video/cocoa/SDL_cocoavulkan.h
  42. 3 3
      src/video/cocoa/SDL_cocoawindow.h
  43. 3 3
      src/video/directfb/SDL_DirectFB_WM.h
  44. 5 3
      src/video/directfb/SDL_DirectFB_dyn.h
  45. 5 3
      src/video/directfb/SDL_DirectFB_events.h
  46. 3 3
      src/video/directfb/SDL_DirectFB_modes.h
  47. 3 3
      src/video/directfb/SDL_DirectFB_mouse.h
  48. 3 3
      src/video/directfb/SDL_DirectFB_opengl.h
  49. 3 3
      src/video/directfb/SDL_DirectFB_shape.h
  50. 3 3
      src/video/directfb/SDL_DirectFB_video.h
  51. 3 3
      src/video/directfb/SDL_DirectFB_window.h
  52. 3 3
      src/video/emscripten/SDL_emscriptenevents.h
  53. 3 3
      src/video/emscripten/SDL_emscriptenframebuffer.h
  54. 3 3
      src/video/emscripten/SDL_emscriptenmouse.h
  55. 3 3
      src/video/emscripten/SDL_emscriptenopengles.h
  56. 3 3
      src/video/emscripten/SDL_emscriptenvideo.h
  57. 3 3
      src/video/haiku/SDL_BWin.h
  58. 3 3
      src/video/kmsdrm/SDL_kmsdrmdyn.h
  59. 3 3
      src/video/kmsdrm/SDL_kmsdrmevents.h
  60. 3 3
      src/video/kmsdrm/SDL_kmsdrmmouse.h
  61. 3 3
      src/video/kmsdrm/SDL_kmsdrmopengles.h
  62. 3 3
      src/video/mir/SDL_mirdyn.h
  63. 3 3
      src/video/mir/SDL_mirevents.h
  64. 3 3
      src/video/mir/SDL_mirframebuffer.h
  65. 3 3
      src/video/mir/SDL_mirmouse.h
  66. 3 3
      src/video/mir/SDL_miropengl.h
  67. 3 3
      src/video/mir/SDL_mirvideo.h
  68. 3 3
      src/video/mir/SDL_mirvulkan.h
  69. 3 3
      src/video/mir/SDL_mirwindow.h
  70. 3 3
      src/video/nacl/SDL_naclevents_c.h
  71. 3 3
      src/video/nacl/SDL_naclopengles.h
  72. 3 3
      src/video/nacl/SDL_naclvideo.h
  73. 3 3
      src/video/nacl/SDL_naclwindow.h
  74. 5 3
      src/video/psp/SDL_pspgl_c.h
  75. 3 3
      src/video/psp/SDL_pspvideo.h
  76. 3 3
      src/video/raspberry/SDL_rpievents_c.h
  77. 3 3
      src/video/raspberry/SDL_rpimouse.h
  78. 3 3
      src/video/raspberry/SDL_rpiopengles.h
  79. 3 3
      src/video/uikit/SDL_uikitclipboard.h
  80. 3 3
      src/video/uikit/SDL_uikitevents.h
  81. 5 3
      src/video/uikit/SDL_uikitmetalview.h
  82. 3 3
      src/video/uikit/SDL_uikitmodes.h
  83. 3 3
      src/video/uikit/SDL_uikitopengles.h
  84. 3 3
      src/video/uikit/SDL_uikitvideo.h
  85. 3 3
      src/video/uikit/SDL_uikitvulkan.h
  86. 3 3
      src/video/uikit/SDL_uikitwindow.h
  87. 3 3
      src/video/vivante/SDL_vivanteopengles.h
  88. 3 3
      src/video/vivante/SDL_vivanteplatform.h
  89. 3 3
      src/video/vivante/SDL_vivantevideo.h
  90. 3 3
      src/video/wayland/SDL_waylandclipboard.h
  91. 3 5
      src/video/wayland/SDL_waylanddatamanager.h
  92. 3 3
      src/video/wayland/SDL_waylanddyn.h
  93. 3 3
      src/video/wayland/SDL_waylandevents_c.h
  94. 5 3
      src/video/wayland/SDL_waylandopengles.h
  95. 3 3
      src/video/wayland/SDL_waylandtouch.h
  96. 3 3
      src/video/wayland/SDL_waylandvideo.h
  97. 3 3
      src/video/wayland/SDL_waylandvulkan.h
  98. 3 3
      src/video/wayland/SDL_waylandwindow.h
  99. 3 3
      src/video/windows/SDL_msctf.h
  100. 3 3
      src/video/windows/SDL_windowsclipboard.h

+ 3 - 3
src/audio/android/SDL_androidaudio.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_androidaudio_h
-#define _SDL_androidaudio_h
+#ifndef SDL_androidaudio_h_
+#define SDL_androidaudio_h_
 
 #include "../SDL_sysaudio.h"
 
@@ -37,6 +37,6 @@ struct SDL_PrivateAudioData
 void ANDROIDAUDIO_ResumeDevices(void);
 void ANDROIDAUDIO_PauseDevices(void);
 
-#endif /* _SDL_androidaudio_h */
+#endif /* SDL_androidaudio_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/audio/arts/SDL_artsaudio.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_artsaudio_h
-#define _SDL_artsaudio_h
+#ifndef SDL_artsaudio_h_
+#define SDL_artsaudio_h_
 
 #include <artsc.h>
 
@@ -48,6 +48,6 @@ struct SDL_PrivateAudioData
 };
 #define FUDGE_TICKS 10      /* The scheduler overhead ticks per frame */
 
-#endif /* _SDL_artsaudio_h */
+#endif /* SDL_artsaudio_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 4 - 3
src/audio/coreaudio/SDL_coreaudio.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_coreaudio_h
-#define _SDL_coreaudio_h
+#ifndef SDL_coreaudio_h_
+#define SDL_coreaudio_h_
 
 #include "../SDL_sysaudio.h"
 
@@ -63,5 +63,6 @@ struct SDL_PrivateAudioData
 #endif
 };
 
-#endif /* _SDL_coreaudio_h */
+#endif /* SDL_coreaudio_h_ */
+
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/audio/directsound/SDL_directsound.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_directsound_h
-#define _SDL_directsound_h
+#ifndef SDL_directsound_h_
+#define SDL_directsound_h_
 
 #include "../../core/windows/SDL_directx.h"
 
@@ -42,6 +42,6 @@ struct SDL_PrivateAudioData
     Uint8 *locked_buf;
 };
 
-#endif /* _SDL_directsound_h */
+#endif /* SDL_directsound_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 4 - 3
src/audio/emscripten/SDL_emscriptenaudio.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_emscriptenaudio_h
-#define _SDL_emscriptenaudio_h
+#ifndef SDL_emscriptenaudio_h_
+#define SDL_emscriptenaudio_h_
 
 #include "../SDL_sysaudio.h"
 
@@ -33,5 +33,6 @@ struct SDL_PrivateAudioData
     int unused;
 };
 
-#endif /* _SDL_emscriptenaudio_h */
+#endif /* SDL_emscriptenaudio_h_ */
+
 /* vi: set ts=4 sw=4 expandtab: */

+ 4 - 3
src/audio/esd/SDL_esdaudio.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_esdaudio_h
-#define _SDL_esdaudio_h
+#ifndef SDL_esdaudio_h_
+#define SDL_esdaudio_h_
 
 #include "../SDL_sysaudio.h"
 
@@ -46,5 +46,6 @@ struct SDL_PrivateAudioData
 };
 #define FUDGE_TICKS 10      /* The scheduler overhead ticks per frame */
 
-#endif /* _SDL_esdaudio_h */
+#endif /* SDL_esdaudio_h_ */
+
 /* vi: set ts=4 sw=4 expandtab: */

+ 4 - 3
src/audio/fusionsound/SDL_fsaudio.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_fsaudio_h
-#define _SDL_fsaudio_h
+#ifndef SDL_fsaudio_h_
+#define SDL_fsaudio_h_
 
 #include <fusionsound/fusionsound.h>
 
@@ -45,5 +45,6 @@ struct SDL_PrivateAudioData
 
 };
 
-#endif /* _SDL_fsaudio_h */
+#endif /* SDL_fsaudio_h_ */
+
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/audio/haiku/SDL_haikuaudio.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_haikuaudio_h
-#define _SDL_haikuaudio_h
+#ifndef SDL_haikuaudio_h_
+#define SDL_haikuaudio_h_
 
 #include "../SDL_sysaudio.h"
 
@@ -33,6 +33,6 @@ struct SDL_PrivateAudioData
     BSoundPlayer *audio_obj;
 };
 
-#endif /* _SDL_haikuaudio_h */
+#endif /* SDL_haikuaudio_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/audio/jack/SDL_jackaudio.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_jackaudio_h
-#define _SDL_jackaudio_h
+#ifndef SDL_jackaudio_h_
+#define SDL_jackaudio_h_
 
 #include <jack/jack.h>
 
@@ -37,6 +37,6 @@ struct SDL_PrivateAudioData
     jack_port_t **sdlports;
 };
 
-#endif /* _SDL_jackaudio_h */
+#endif /* SDL_jackaudio_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 5 - 3
src/audio/nacl/SDL_naclaudio.h

@@ -21,8 +21,8 @@
 
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_naclaudio_h
-#define _SDL_naclaudio_h
+#ifndef SDL_naclaudio_h_
+#define SDL_naclaudio_h_
 
 #include "SDL_audio.h"
 #include "../SDL_sysaudio.h"
@@ -38,4 +38,6 @@ typedef struct SDL_PrivateAudioData {
   PP_Resource audio;
 } SDL_PrivateAudioData;
 
-#endif /* _SDL_naclaudio_h */
+#endif /* SDL_naclaudio_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/audio/netbsd/SDL_netbsdaudio.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_netbsdaudio_h
-#define _SDL_netbsdaudio_h
+#ifndef SDL_netbsdaudio_h_
+#define SDL_netbsdaudio_h_
 
 #include "../SDL_sysaudio.h"
 
@@ -43,6 +43,6 @@ struct SDL_PrivateAudioData
 
 #define FUDGE_TICKS 10      /* The scheduler overhead ticks per frame */
 
-#endif /* _SDL_netbsdaudio_h */
+#endif /* SDL_netbsdaudio_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/audio/paudio/SDL_paudio.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_paudio_h
-#define _SDL_paudio_h
+#ifndef SDL_paudio_h_
+#define SDL_paudio_h_
 
 #include "../SDL_sysaudio.h"
 
@@ -43,6 +43,6 @@ struct SDL_PrivateAudioData
 };
 #define FUDGE_TICKS 10      /* The scheduler overhead ticks per frame */
 
-#endif /* _SDL_paudio_h */
+#endif /* SDL_paudio_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 5 - 5
src/audio/psp/SDL_pspaudio.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_pspaudio_h
-#define _SDL_pspaudio_h
+#ifndef SDL_pspaudio_h_
+#define SDL_pspaudio_h_
 
 #include "../SDL_sysaudio.h"
 
@@ -40,6 +40,6 @@ struct SDL_PrivateAudioData {
     int     next_buffer;
 };
 
-#endif /* _SDL_pspaudio_h */
-/* vim: ts=4 sw=4
- */
+#endif /* SDL_pspaudio_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/audio/sndio/SDL_sndioaudio.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_sndioaudio_h
-#define _SDL_sndioaudio_h
+#ifndef SDL_sndioaudio_h_
+#define SDL_sndioaudio_h_
 
 #include <poll.h>
 #include <sndio.h>
@@ -44,6 +44,6 @@ struct SDL_PrivateAudioData
     struct pollfd *pfd;
 };
 
-#endif /* _SDL_sndioaudio_h */
+#endif /* SDL_sndioaudio_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/audio/sun/SDL_sunaudio.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_sunaudio_h
-#define _SDL_sunaudio_h
+#ifndef SDL_sunaudio_h_
+#define SDL_sunaudio_h_
 
 #include "../SDL_sysaudio.h"
 
@@ -42,6 +42,6 @@ struct SDL_PrivateAudioData
     int frequency;              /* The audio frequency in KHz */
 };
 
-#endif /* _SDL_sunaudio_h */
+#endif /* SDL_sunaudio_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/audio/winmm/SDL_winmm.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_winmm_h
-#define _SDL_winmm_h
+#ifndef SDL_winmm_h_
+#define SDL_winmm_h_
 
 #include "../SDL_sysaudio.h"
 
@@ -40,6 +40,6 @@ struct SDL_PrivateAudioData
     int next_buffer;
 };
 
-#endif /* _SDL_winmm_h */
+#endif /* SDL_winmm_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/audio/xaudio2/SDL_xaudio2.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_XAUDIO2_H
-#define _SDL_XAUDIO2_H
+#ifndef SDL_XAUDIO2_H_
+#define SDL_XAUDIO2_H_
 
 #include <windows.h>
 #include <mmreg.h>
@@ -381,6 +381,6 @@ const struct IXAudio2VoiceCallbackVtbl
 
 #pragma pack(pop)   /* Undo pragma push */
 
-#endif  /* _SDL_XAUDIO2_H */
+#endif  /* SDL_XAUDIO2_H_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/core/windows/SDL_directx.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_directx_h
-#define _SDL_directx_h
+#ifndef SDL_directx_h_
+#define SDL_directx_h_
 
 /* Include all of the DirectX 8.0 headers and adds any necessary tweaks */
 
@@ -106,6 +106,6 @@
 typedef struct { int unused; } DIDEVICEINSTANCE;
 #endif
 
-#endif /* _SDL_directx_h */
+#endif /* SDL_directx_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/core/windows/SDL_xinput.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_xinput_h
-#define _SDL_xinput_h
+#ifndef SDL_xinput_h_
+#define SDL_xinput_h_
 
 #ifdef HAVE_XINPUT_H
 
@@ -172,6 +172,6 @@ extern DWORD SDL_XInputVersion;  /* ((major << 16) & 0xFF00) | (minor & 0xFF) */
 
 #endif /* HAVE_XINPUT_H */
 
-#endif /* _SDL_xinput_h */
+#endif /* SDL_xinput_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/core/winrt/SDL_winrtapp_common.h

@@ -20,12 +20,12 @@
 */
 #include "SDL_config.h"
 
-#ifndef _SDL_winrtapp_common_h
-#define _SDL_winrtapp_common_h
+#ifndef SDL_winrtapp_common_h_
+#define SDL_winrtapp_common_h_
 
 /* A pointer to the app's C-style main() function (which is a different
    function than the WinRT app's actual entry point).
  */
 extern int (*WINRT_SDLAppEntryPoint)(int, char **);
 
-#endif // ifndef _SDL_winrtapp_common_h
+#endif // SDL_winrtapp_common_h_

+ 3 - 3
src/core/winrt/SDL_winrtapp_xaml.h

@@ -20,8 +20,8 @@
 */
 #include "SDL_config.h"
 
-#ifndef _SDL_winrtapp_xaml_h
-#define _SDL_winrtapp_xaml_h
+#ifndef SDL_winrtapp_xaml_h_
+#define SDL_winrtapp_xaml_h_
 
 #include "SDL_stdinc.h"
 
@@ -30,4 +30,4 @@ extern SDL_bool WINRT_XAMLWasEnabled;
 extern int SDL_WinRTInitXAMLApp(int (*mainFunction)(int, char **), void * backgroundPanelAsIInspectable);
 #endif // ifdef __cplusplus
 
-#endif // ifndef _SDL_winrtapp_xaml_h
+#endif // SDL_winrtapp_xaml_h_

+ 3 - 3
src/haptic/windows/SDL_windowshaptic_c.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_windowshaptic_c_h
-#define _SDL_windowshaptic_c_h
+#ifndef SDL_windowshaptic_c_h_
+#define SDL_windowshaptic_c_h_
 
 #include "SDL_thread.h"
 #include "../SDL_syshaptic.h"
@@ -82,7 +82,7 @@ extern SDL_hapticlist_item *SDL_hapticlist;
 extern int SDL_SYS_AddHapticDevice(SDL_hapticlist_item *item);
 extern int SDL_SYS_RemoveHapticDevice(SDL_hapticlist_item *prev, SDL_hapticlist_item *item);
 
-#endif /* _SDL_windowshaptic_c_h */
+#endif /* SDL_windowshaptic_c_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */
 

+ 3 - 3
src/joystick/android/SDL_sysjoystick_c.h

@@ -23,8 +23,8 @@
 
 #ifdef SDL_JOYSTICK_ANDROID
 
-#ifndef _SDL_sysjoystick_c_h
-#define _SDL_sysjoystick_c_h
+#ifndef SDL_sysjoystick_c_h_
+#define SDL_sysjoystick_c_h_
 
 #include "../SDL_sysjoystick.h"
 
@@ -51,7 +51,7 @@ typedef struct SDL_joylist_item
 
 typedef SDL_joylist_item joystick_hwdata;
 
-#endif /* _SDL_sysjoystick_c_h */
+#endif /* SDL_sysjoystick_c_h_ */
 
 #endif /* SDL_JOYSTICK_ANDROID */
 

+ 3 - 3
src/thread/windows/SDL_systhread_c.h

@@ -20,13 +20,13 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_systhread_c_h
-#define _SDL_systhread_c_h
+#ifndef SDL_systhread_c_h_
+#define SDL_systhread_c_h_
 
 #include "../../core/windows/SDL_windows.h"
 
 typedef HANDLE SYS_ThreadHandle;
 
-#endif /* _SDL_systhread_c_h */
+#endif /* SDL_systhread_c_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/android/SDL_androidclipboard.h

@@ -20,13 +20,13 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_androidclipboard_h
-#define _SDL_androidclipboard_h
+#ifndef SDL_androidclipboard_h_
+#define SDL_androidclipboard_h_
 
 extern int Android_SetClipboardText(_THIS, const char *text);
 extern char *Android_GetClipboardText(_THIS);
 extern SDL_bool Android_HasClipboardText(_THIS);
 
-#endif /* _SDL_androidclipboard_h */
+#endif /* SDL_androidclipboard_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/android/SDL_androidgl.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_androidgl_h
-#define _SDL_androidgl_h
+#ifndef SDL_androidgl_h_
+#define SDL_androidgl_h_
 
 SDL_GLContext Android_GLES_CreateContext(_THIS, SDL_Window * window);
 int Android_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context);
@@ -29,6 +29,6 @@ int Android_GLES_SwapWindow(_THIS, SDL_Window * window);
 int Android_GLES_LoadLibrary(_THIS, const char *path);
 
 
-#endif /* _SDL_androidgl_h */
+#endif /* SDL_androidgl_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/android/SDL_androidmouse.h

@@ -19,14 +19,14 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_androidmouse_h
-#define _SDL_androidmouse_h
+#ifndef SDL_androidmouse_h_
+#define SDL_androidmouse_h_
 
 #include "SDL_androidvideo.h"
 
 extern void Android_InitMouse(void);
 extern void Android_OnMouse( int button, int action, float x, float y);
 
-#endif /* _SDL_androidmouse_h */
+#endif /* SDL_androidmouse_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/android/SDL_androidvideo.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_androidvideo_h
-#define _SDL_androidvideo_h
+#ifndef SDL_androidvideo_h_
+#define SDL_androidvideo_h_
 
 #include "SDL_mutex.h"
 #include "SDL_rect.h"
@@ -44,6 +44,6 @@ extern SDL_sem *Android_PauseSem, *Android_ResumeSem;
 extern SDL_Window *Android_Window;
 
 
-#endif /* _SDL_androidvideo_h */
+#endif /* SDL_androidvideo_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/android/SDL_androidvulkan.h

@@ -26,8 +26,8 @@
 
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_androidvulkan_h
-#define _SDL_androidvulkan_h
+#ifndef SDL_androidvulkan_h_
+#define SDL_androidvulkan_h_
 
 #include "../SDL_vulkan_internal.h"
 #include "../SDL_sysvideo.h"
@@ -47,6 +47,6 @@ SDL_bool Android_Vulkan_CreateSurface(_THIS,
 
 #endif
 
-#endif /* _SDL_androidvulkan_h */
+#endif /* SDL_androidvulkan_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/android/SDL_androidwindow.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_androidwindow_h
-#define _SDL_androidwindow_h
+#ifndef SDL_androidwindow_h_
+#define SDL_androidwindow_h_
 
 #include "../../core/android/SDL_android.h"
 #include "../SDL_egl_c.h"
@@ -39,6 +39,6 @@ typedef struct
     
 } SDL_WindowData;
 
-#endif /* _SDL_androidwindow_h */
+#endif /* SDL_androidwindow_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/cocoa/SDL_cocoaclipboard.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_cocoaclipboard_h
-#define _SDL_cocoaclipboard_h
+#ifndef SDL_cocoaclipboard_h_
+#define SDL_cocoaclipboard_h_
 
 /* Forward declaration */
 struct SDL_VideoData;
@@ -31,6 +31,6 @@ extern char *Cocoa_GetClipboardText(_THIS);
 extern SDL_bool Cocoa_HasClipboardText(_THIS);
 extern void Cocoa_CheckClipboardUpdate(struct SDL_VideoData * data);
 
-#endif /* _SDL_cocoaclipboard_h */
+#endif /* SDL_cocoaclipboard_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/cocoa/SDL_cocoaevents.h

@@ -20,13 +20,13 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_cocoaevents_h
-#define _SDL_cocoaevents_h
+#ifndef SDL_cocoaevents_h_
+#define SDL_cocoaevents_h_
 
 extern void Cocoa_RegisterApp(void);
 extern void Cocoa_PumpEvents(_THIS);
 extern void Cocoa_SuspendScreenSaver(_THIS);
 
-#endif /* _SDL_cocoaevents_h */
+#endif /* SDL_cocoaevents_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/cocoa/SDL_cocoakeyboard.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_cocoakeyboard_h
-#define _SDL_cocoakeyboard_h
+#ifndef SDL_cocoakeyboard_h_
+#define SDL_cocoakeyboard_h_
 
 extern void Cocoa_InitKeyboard(_THIS);
 extern void Cocoa_HandleKeyEvent(_THIS, NSEvent * event);
@@ -31,6 +31,6 @@ extern void Cocoa_StartTextInput(_THIS);
 extern void Cocoa_StopTextInput(_THIS);
 extern void Cocoa_SetTextInputRect(_THIS, SDL_Rect *rect);
 
-#endif /* _SDL_cocoakeyboard_h */
+#endif /* SDL_cocoakeyboard_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/cocoa/SDL_cocoametalview.h

@@ -26,8 +26,8 @@
  * how to add a CAMetalLayer backed view.
  */
 
-#ifndef _SDL_cocoametalview_h
-#define _SDL_cocoametalview_h
+#ifndef SDL_cocoametalview_h_
+#define SDL_cocoametalview_h_
 
 #import "../SDL_sysvideo.h"
 #import "SDL_cocoawindow.h"
@@ -55,7 +55,7 @@ SDL_cocoametalview* Cocoa_Mtl_AddMetalView(SDL_Window* window);
 
 void Cocoa_Mtl_GetDrawableSize(SDL_Window * window, int * w, int * h);
 
-#endif /* _SDL_cocoametalview_h */
+#endif /* SDL_cocoametalview_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */
 

+ 3 - 3
src/video/cocoa/SDL_cocoamodes.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_cocoamodes_h
-#define _SDL_cocoamodes_h
+#ifndef SDL_cocoamodes_h_
+#define SDL_cocoamodes_h_
 
 typedef struct
 {
@@ -41,6 +41,6 @@ extern int Cocoa_GetDisplayDPI(_THIS, SDL_VideoDisplay * display, float * ddpi,
 extern int Cocoa_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode);
 extern void Cocoa_QuitModes(_THIS);
 
-#endif /* _SDL_cocoamodes_h */
+#endif /* SDL_cocoamodes_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/cocoa/SDL_cocoamouse.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_cocoamouse_h
-#define _SDL_cocoamouse_h
+#ifndef SDL_cocoamouse_h_
+#define SDL_cocoamouse_h_
 
 #include "SDL_cocoavideo.h"
 
@@ -47,6 +47,6 @@ typedef struct {
 + (NSCursor *)invisibleCursor;
 @end
 
-#endif /* _SDL_cocoamouse_h */
+#endif /* SDL_cocoamouse_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/cocoa/SDL_cocoamousetap.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_cocoamousetap_h
-#define _SDL_cocoamousetap_h
+#ifndef SDL_cocoamousetap_h_
+#define SDL_cocoamousetap_h_
 
 #include "SDL_cocoamouse.h"
 
@@ -29,6 +29,6 @@ extern void Cocoa_InitMouseEventTap(SDL_MouseData *driverdata);
 extern void Cocoa_EnableMouseEventTap(SDL_MouseData *driverdata, SDL_bool enabled);
 extern void Cocoa_QuitMouseEventTap(SDL_MouseData *driverdata);
 
-#endif /* _SDL_cocoamousetap_h */
+#endif /* SDL_cocoamousetap_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/cocoa/SDL_cocoaopengl.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_cocoaopengl_h
-#define _SDL_cocoaopengl_h
+#ifndef SDL_cocoaopengl_h_
+#define SDL_cocoaopengl_h_
 
 #if SDL_VIDEO_OPENGL_CGL
 
@@ -63,6 +63,6 @@ extern void Cocoa_GL_DeleteContext(_THIS, SDL_GLContext context);
 
 #endif /* SDL_VIDEO_OPENGL_CGL */
 
-#endif /* _SDL_cocoaopengl_h */
+#endif /* SDL_cocoaopengl_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 5 - 3
src/video/cocoa/SDL_cocoashape.h

@@ -21,8 +21,8 @@
 
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_cocoashape_h
-#define _SDL_cocoashape_h
+#ifndef SDL_cocoashape_h_
+#define SDL_cocoashape_h_
 
 #include "SDL_stdinc.h"
 #include "SDL_video.h"
@@ -40,4 +40,6 @@ extern SDL_WindowShaper* Cocoa_CreateShaper(SDL_Window* window);
 extern int Cocoa_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode);
 extern int Cocoa_ResizeWindowShape(SDL_Window *window);
 
-#endif
+#endif /* SDL_cocoashape_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/cocoa/SDL_cocoavideo.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_cocoavideo_h
-#define _SDL_cocoavideo_h
+#ifndef SDL_cocoavideo_h_
+#define SDL_cocoavideo_h_
 
 #include "SDL_opengl.h"
 
@@ -113,6 +113,6 @@ typedef struct SDL_VideoData
 /* Utility functions */
 extern NSImage * Cocoa_CreateImage(SDL_Surface * surface);
 
-#endif /* _SDL_cocoavideo_h */
+#endif /* SDL_cocoavideo_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/cocoa/SDL_cocoavulkan.h

@@ -27,8 +27,8 @@
 
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_cocoavulkan_h
-#define _SDL_cocoavulkan_h
+#ifndef SDL_cocoavulkan_h_
+#define SDL_cocoavulkan_h_
 
 #include "../SDL_vulkan_internal.h"
 #include "../SDL_sysvideo.h"
@@ -50,6 +50,6 @@ void Cocoa_Vulkan_GetDrawableSize(_THIS, SDL_Window *window, int *w, int *h);
 
 #endif
 
-#endif /* _SDL_cocoavulkan_h */
+#endif /* SDL_cocoavulkan_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/cocoa/SDL_cocoawindow.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_cocoawindow_h
-#define _SDL_cocoawindow_h
+#ifndef SDL_cocoawindow_h_
+#define SDL_cocoawindow_h_
 
 #import <Cocoa/Cocoa.h>
 
@@ -142,6 +142,6 @@ extern void Cocoa_DestroyWindow(_THIS, SDL_Window * window);
 extern SDL_bool Cocoa_GetWindowWMInfo(_THIS, SDL_Window * window, struct SDL_SysWMinfo *info);
 extern int Cocoa_SetWindowHitTest(SDL_Window *window, SDL_bool enabled);
 
-#endif /* _SDL_cocoawindow_h */
+#endif /* SDL_cocoawindow_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/directfb/SDL_DirectFB_WM.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_directfb_wm_h
-#define _SDL_directfb_wm_h
+#ifndef SDL_directfb_wm_h_
+#define SDL_directfb_wm_h_
 
 #include "SDL_DirectFB_video.h"
 
@@ -51,6 +51,6 @@ extern DFBResult DirectFB_WM_GetClientSize(_THIS, SDL_Window * window,
                                            int *cw, int *ch);
 
 
-#endif /* _SDL_directfb_wm_h */
+#endif /* SDL_directfb_wm_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 5 - 3
src/video/directfb/SDL_DirectFB_dyn.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_DirectFB_dyn_h
-#define _SDL_DirectFB_dyn_h
+#ifndef SDL_DirectFB_dyn_h_
+#define SDL_DirectFB_dyn_h_
 
 #define DFB_SYMS \
     DFB_SYM(DFBResult, DirectFBError, (const char *msg, DFBResult result), (msg, result), return) \
@@ -36,4 +36,6 @@
 int SDL_DirectFB_LoadLibrary(void);
 void SDL_DirectFB_UnLoadLibrary(void);
 
-#endif
+#endif /* SDL_DirectFB_dyn_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */

+ 5 - 3
src/video/directfb/SDL_DirectFB_events.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_DirectFB_events_h
-#define _SDL_DirectFB_events_h
+#ifndef SDL_DirectFB_events_h_
+#define SDL_DirectFB_events_h_
 
 #include "../SDL_sysvideo.h"
 
@@ -29,4 +29,6 @@ extern void DirectFB_InitKeyboard(_THIS);
 extern void DirectFB_QuitKeyboard(_THIS);
 extern void DirectFB_PumpEventsWindow(_THIS);
 
-#endif
+#endif /* SDL_DirectFB_events_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/directfb/SDL_DirectFB_modes.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_directfb_modes_h
-#define _SDL_directfb_modes_h
+#ifndef SDL_directfb_modes_h_
+#define SDL_directfb_modes_h_
 
 #include <directfb.h>
 
@@ -54,6 +54,6 @@ extern void DirectFB_QuitModes(_THIS);
 
 extern void DirectFB_SetContext(_THIS, SDL_Window *window);
 
-#endif /* _SDL_directfb_modes_h */
+#endif /* SDL_directfb_modes_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/directfb/SDL_DirectFB_mouse.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_DirectFB_mouse_h
-#define _SDL_DirectFB_mouse_h
+#ifndef SDL_DirectFB_mouse_h_
+#define SDL_DirectFB_mouse_h_
 
 #include <directfb.h>
 
@@ -39,6 +39,6 @@ struct _DFB_CursorData
 extern void DirectFB_InitMouse(_THIS);
 extern void DirectFB_QuitMouse(_THIS);
 
-#endif /* _SDL_DirectFB_mouse_h */
+#endif /* SDL_DirectFB_mouse_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/directfb/SDL_DirectFB_opengl.h

@@ -20,8 +20,8 @@
 */
 
 
-#ifndef _SDL_directfb_opengl_h
-#define _SDL_directfb_opengl_h
+#ifndef SDL_directfb_opengl_h_
+#define SDL_directfb_opengl_h_
 
 #include "SDL_DirectFB_video.h"
 
@@ -59,6 +59,6 @@ extern void DirectFB_GL_DestroyWindowContexts(_THIS, SDL_Window * window);
 
 #endif /* SDL_DIRECTFB_OPENGL */
 
-#endif /* _SDL_directfb_opengl_h */
+#endif /* SDL_directfb_opengl_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/directfb/SDL_DirectFB_shape.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_DirectFB_shape_h
-#define _SDL_DirectFB_shape_h
+#ifndef SDL_DirectFB_shape_h_
+#define SDL_DirectFB_shape_h_
 
 #include <directfb.h>
 
@@ -35,4 +35,4 @@ extern SDL_WindowShaper* DirectFB_CreateShaper(SDL_Window* window);
 extern int DirectFB_ResizeWindowShape(SDL_Window* window);
 extern int DirectFB_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shapeMode);
 
-#endif /* _SDL_DirectFB_shape_h */
+#endif /* SDL_DirectFB_shape_h_ */

+ 3 - 3
src/video/directfb/SDL_DirectFB_video.h

@@ -21,8 +21,8 @@
 
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_DirectFB_video_h
-#define _SDL_DirectFB_video_h
+#ifndef SDL_DirectFB_video_h_
+#define SDL_DirectFB_video_h_
 
 #include <directfb.h>
 #include <directfb_version.h>
@@ -167,4 +167,4 @@ DFBSurfacePixelFormat DirectFB_SDLToDFBPixelFormat(Uint32 format);
 void DirectFB_SetSupportedPixelFormats(SDL_RendererInfo *ri);
 
 
-#endif /* _SDL_DirectFB_video_h */
+#endif /* SDL_DirectFB_video_h_ */

+ 3 - 3
src/video/directfb/SDL_DirectFB_window.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_directfb_window_h
-#define _SDL_directfb_window_h
+#ifndef SDL_directfb_window_h_
+#define SDL_directfb_window_h_
 
 #include "SDL_DirectFB_video.h"
 #include "SDL_DirectFB_WM.h"
@@ -77,6 +77,6 @@ extern SDL_bool DirectFB_GetWindowWMInfo(_THIS, SDL_Window * window,
 extern void DirectFB_AdjustWindowSurface(SDL_Window * window);
 extern int DirectFB_SetWindowOpacity(_THIS, SDL_Window * window, float opacity);
 
-#endif /* _SDL_directfb_window_h */
+#endif /* SDL_directfb_window_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/emscripten/SDL_emscriptenevents.h

@@ -20,8 +20,8 @@
 */
 
 
-#ifndef _SDL_emscriptenevents_h
-#define _SDL_emscriptenevents_h
+#ifndef SDL_emscriptenevents_h_
+#define SDL_emscriptenevents_h_
 
 #include "SDL_emscriptenvideo.h"
 
@@ -34,7 +34,7 @@ Emscripten_UnregisterEventHandlers(SDL_WindowData *data);
 extern EM_BOOL
 Emscripten_HandleCanvasResize(int eventType, const void *reserved, void *userData);
 
-#endif /* _SDL_emscriptenevents_h */
+#endif /* SDL_emscriptenevents_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */
 

+ 3 - 3
src/video/emscripten/SDL_emscriptenframebuffer.h

@@ -20,13 +20,13 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_emscriptenframebuffer_h
-#define _SDL_emscriptenframebuffer_h
+#ifndef SDL_emscriptenframebuffer_h_
+#define SDL_emscriptenframebuffer_h_
 
 extern int Emscripten_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32 * format, void ** pixels, int *pitch);
 extern int Emscripten_UpdateWindowFramebuffer(_THIS, SDL_Window * window, const SDL_Rect * rects, int numrects);
 extern void Emscripten_DestroyWindowFramebuffer(_THIS, SDL_Window * window);
 
-#endif /* _SDL_emscriptenframebuffer_h */
+#endif /* SDL_emscriptenframebuffer_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/emscripten/SDL_emscriptenmouse.h

@@ -20,8 +20,8 @@
 */
 
 
-#ifndef _SDL_emscriptenmouse_h
-#define _SDL_emscriptenmouse_h
+#ifndef SDL_emscriptenmouse_h_
+#define SDL_emscriptenmouse_h_
 
 #include "SDL_stdinc.h"
 
@@ -37,6 +37,6 @@ Emscripten_InitMouse();
 extern void
 Emscripten_FiniMouse();
 
-#endif /* _SDL_emscriptenmouse_h */
+#endif /* SDL_emscriptenmouse_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/emscripten/SDL_emscriptenopengles.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_emscriptenopengles_h
-#define _SDL_emscriptenopengles_h
+#ifndef SDL_emscriptenopengles_h_
+#define SDL_emscriptenopengles_h_
 
 #if SDL_VIDEO_DRIVER_EMSCRIPTEN && SDL_VIDEO_OPENGL_EGL
 
@@ -44,6 +44,6 @@ extern void Emscripten_GLES_GetDrawableSize(_THIS, SDL_Window * window, int * w,
 
 #endif /* SDL_VIDEO_DRIVER_EMSCRIPTEN && SDL_VIDEO_OPENGL_EGL */
 
-#endif /* _SDL_emscriptenopengles_h */
+#endif /* SDL_emscriptenopengles_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/emscripten/SDL_emscriptenvideo.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_emscriptenvideo_h
-#define _SDL_emscriptenvideo_h
+#ifndef SDL_emscriptenvideo_h_
+#define SDL_emscriptenvideo_h_
 
 #include "../SDL_sysvideo.h"
 #include "../../events/SDL_touch_c.h"
@@ -53,6 +53,6 @@ typedef struct SDL_WindowData
     SDL_bool has_pointer_lock;
 } SDL_WindowData;
 
-#endif /* _SDL_emscriptenvideo_h */
+#endif /* SDL_emscriptenvideo_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/haiku/SDL_BWin.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_BWin_h
-#define _SDL_BWin_h
+#ifndef SDL_BWin_h_
+#define SDL_BWin_h_
 
 #ifdef __cplusplus
 extern "C" {
@@ -674,6 +674,6 @@ private:
  *                         through a draw cycle.  Occurs when the previous
  *                         buffer provided by DirectConnected() is invalidated.
  */
-#endif
+#endif /* SDL_BWin_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/kmsdrm/SDL_kmsdrmdyn.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_kmsdrmdyn_h
-#define _SDL_kmsdrmdyn_h
+#ifndef SDL_kmsdrmdyn_h_
+#define SDL_kmsdrmdyn_h_
 
 #include "../../SDL_internal.h"
 
@@ -48,6 +48,6 @@ void SDL_KMSDRM_UnloadSymbols(void);
 }
 #endif
 
-#endif /* !defined _SDL_kmsdrmdyn_h */
+#endif /* SDL_kmsdrmdyn_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/kmsdrm/SDL_kmsdrmevents.h

@@ -21,11 +21,11 @@
 
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_kmsdrmevents_h
-#define _SDL_kmsdrmevents_h
+#ifndef SDL_kmsdrmevents_h_
+#define SDL_kmsdrmevents_h_
 
 extern void KMSDRM_PumpEvents(_THIS);
 extern void KMSDRM_EventInit(_THIS);
 extern void KMSDRM_EventQuit(_THIS);
 
-#endif /* _SDL_kmsdrmevents_h */
+#endif /* SDL_kmsdrmevents_h_ */

+ 3 - 3
src/video/kmsdrm/SDL_kmsdrmmouse.h

@@ -21,8 +21,8 @@
 
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_KMSDRM_mouse_h
-#define _SDL_KMSDRM_mouse_h
+#ifndef SDL_KMSDRM_mouse_h_
+#define SDL_KMSDRM_mouse_h_
 
 #include <gbm.h>
 
@@ -37,6 +37,6 @@ typedef struct _KMSDRM_CursorData
 extern void KMSDRM_InitMouse(_THIS);
 extern void KMSDRM_QuitMouse(_THIS);
 
-#endif /* _SDL_KMSDRM_mouse_h */
+#endif /* SDL_KMSDRM_mouse_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/kmsdrm/SDL_kmsdrmopengles.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_kmsdrmopengles_h
-#define _SDL_kmsdrmopengles_h
+#ifndef SDL_kmsdrmopengles_h_
+#define SDL_kmsdrmopengles_h_
 
 #if SDL_VIDEO_DRIVER_KMSDRM && SDL_VIDEO_OPENGL_EGL
 
@@ -43,6 +43,6 @@ extern int KMSDRM_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext con
 
 #endif /* SDL_VIDEO_DRIVER_KMSDRM && SDL_VIDEO_OPENGL_EGL */
 
-#endif /* _SDL_kmsdrmopengles_h */
+#endif /* SDL_kmsdrmopengles_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/mir/SDL_mirdyn.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_mirdyn_h
-#define _SDL_mirdyn_h
+#ifndef SDL_mirdyn_h_
+#define SDL_mirdyn_h_
 
 #include "../../SDL_internal.h"
 
@@ -48,6 +48,6 @@ void SDL_MIR_UnloadSymbols(void);
 }
 #endif
 
-#endif /* !defined _SDL_mirdyn_h */
+#endif /* !defined SDL_mirdyn_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/mir/SDL_mirevents.h

@@ -23,15 +23,15 @@
   Contributed by Brandon Schaefer, <[email protected]>
 */
 
-#ifndef _SDL_mirevents_h
-#define _SDL_mirevents_h
+#ifndef SDL_mirevents_h_
+#define SDL_mirevents_h_
 
 #include <mir_toolkit/mir_client_library.h>
 
 extern void
 MIR_HandleEvent(MirWindow*, MirEvent const* ev, void* context);
 
-#endif /* _SDL_mirevents_h */
+#endif /* SDL_mirevents_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */
 

+ 3 - 3
src/video/mir/SDL_mirframebuffer.h

@@ -23,8 +23,8 @@
   Contributed by Brandon Schaefer, <[email protected]>
 */
 
-#ifndef _SDL_mirframebuffer_h
-#define _SDL_mirframebuffer_h
+#ifndef SDL_mirframebuffer_h_
+#define SDL_mirframebuffer_h_
 
 #include "../SDL_sysvideo.h"
 
@@ -41,7 +41,7 @@ MIR_UpdateWindowFramebuffer(_THIS, SDL_Window* sdl_window,
 extern void
 MIR_DestroyWindowFramebuffer(_THIS, SDL_Window* sdl_window);
 
-#endif /* _SDL_mirframebuffer_h */
+#endif /* SDL_mirframebuffer_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */
 

+ 3 - 3
src/video/mir/SDL_mirmouse.h

@@ -23,8 +23,8 @@
   Contributed by Brandon Schaefer, <[email protected]>
 */
 
-#ifndef _SDL_mirmouse_h
-#define _SDL_mirmouse_h
+#ifndef SDL_mirmouse_h_
+#define SDL_mirmouse_h_
 
 extern void
 MIR_InitMouse();
@@ -32,6 +32,6 @@ MIR_InitMouse();
 extern void
 MIR_FiniMouse();
 
-#endif /* _SDL_mirmouse_h */
+#endif /* SDL_mirmouse_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/mir/SDL_miropengl.h

@@ -23,8 +23,8 @@
   Contributed by Brandon Schaefer, <[email protected]>
 */
 
-#ifndef _SDL_miropengl_h
-#define _SDL_miropengl_h
+#ifndef SDL_miropengl_h_
+#define SDL_miropengl_h_
 
 #include "SDL_mirwindow.h"
 
@@ -48,6 +48,6 @@ MIR_GL_CreateContext(_THIS, SDL_Window* window);
 extern int
 MIR_GL_LoadLibrary(_THIS, const char* path);
 
-#endif /* _SDL_miropengl_h */
+#endif /* SDL_miropengl_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/mir/SDL_mirvideo.h

@@ -23,8 +23,8 @@
   Contributed by Brandon Schaefer, <[email protected]>
 */
 
-#ifndef _SDL_mirvideo_h_
-#define _SDL_mirvideo_h_
+#ifndef SDL_mirvideo_h__
+#define SDL_mirvideo_h__
 
 #include <EGL/egl.h>
 #include <mir_toolkit/mir_client_library.h>
@@ -44,6 +44,6 @@ typedef struct
 extern Uint32
 MIR_GetSDLPixelFormat(MirPixelFormat format);
 
-#endif /* _SDL_mirvideo_h_ */
+#endif /* SDL_mirvideo_h__ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/mir/SDL_mirvulkan.h

@@ -26,8 +26,8 @@
 
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_mirvulkan_h
-#define _SDL_mirvulkan_h
+#ifndef SDL_mirvulkan_h_
+#define SDL_mirvulkan_h_
 
 #include "../SDL_vulkan_internal.h"
 #include "../SDL_sysvideo.h"
@@ -47,6 +47,6 @@ SDL_bool MIR_Vulkan_CreateSurface(_THIS,
 
 #endif
 
-#endif /* _SDL_mirvulkan_h */
+#endif /* SDL_mirvulkan_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/mir/SDL_mirwindow.h

@@ -23,8 +23,8 @@
   Contributed by Brandon Schaefer, <[email protected]>
 */
 
-#ifndef _SDL_mirwindow_h
-#define _SDL_mirwindow_h
+#ifndef SDL_mirwindow_h_
+#define SDL_mirwindow_h_
 
 #include "../SDL_sysvideo.h"
 #include "SDL_syswm.h"
@@ -87,7 +87,7 @@ MIR_SetWindowGammaRamp(_THIS, SDL_Window* window, Uint16 const* ramp);
 extern int
 MIR_GetWindowGammaRamp(_THIS, SDL_Window* window, Uint16* ramp);
 
-#endif /* _SDL_mirwindow_h */
+#endif /* SDL_mirwindow_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */
 

+ 3 - 3
src/video/nacl/SDL_naclevents_c.h

@@ -20,11 +20,11 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_naclevents_c_h
-#define _SDL_naclevents_c_h
+#ifndef SDL_naclevents_c_h_
+#define SDL_naclevents_c_h_
 
 #include "SDL_naclvideo.h"
 
 extern void NACL_PumpEvents(_THIS);
 
-#endif /* _SDL_naclevents_c_h */
+#endif /* SDL_naclevents_c_h_ */

+ 3 - 3
src/video/nacl/SDL_naclopengles.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_naclopengles_h
-#define _SDL_naclopengles_h
+#ifndef SDL_naclopengles_h_
+#define SDL_naclopengles_h_
 
 extern int NACL_GLES_LoadLibrary(_THIS, const char *path);
 extern void *NACL_GLES_GetProcAddress(_THIS, const char *proc);
@@ -33,6 +33,6 @@ extern int NACL_GLES_GetSwapInterval(_THIS);
 extern int NACL_GLES_SwapWindow(_THIS, SDL_Window * window);
 extern void NACL_GLES_DeleteContext(_THIS, SDL_GLContext context);
 
-#endif /* _SDL_naclopengles_h */
+#endif /* SDL_naclopengles_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/nacl/SDL_naclvideo.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_naclvideo_h
-#define _SDL_naclvideo_h
+#ifndef SDL_naclvideo_h_
+#define SDL_naclvideo_h_
 
 #include "../SDL_sysvideo.h"
 #include "ppapi_simple/ps_interface.h"
@@ -64,4 +64,4 @@ typedef struct SDL_VideoData {
 extern void NACL_SetScreenResolution(int width, int height, Uint32 format);
 
 
-#endif /* _SDL_naclvideo_h */
+#endif /* SDL_naclvideo_h_ */

+ 3 - 3
src/video/nacl/SDL_naclwindow.h

@@ -20,13 +20,13 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_naclwindow_h
-#define _SDL_naclwindow_h
+#ifndef SDL_naclwindow_h_
+#define SDL_naclwindow_h_
 
 extern int NACL_CreateWindow(_THIS, SDL_Window * window);
 extern void NACL_SetWindowTitle(_THIS, SDL_Window * window);
 extern void NACL_DestroyWindow(_THIS, SDL_Window * window);
 
-#endif /* _SDL_naclwindow_h */
+#endif /* SDL_naclwindow_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 5 - 3
src/video/psp/SDL_pspgl_c.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_pspgl_c_h
-#define _SDL_pspgl_c_h
+#ifndef SDL_pspgl_c_h_
+#define SDL_pspgl_c_h_
 
 
 #include <GLES/egl.h>
@@ -49,4 +49,6 @@ extern int PSP_GL_SetSwapInterval(_THIS, int interval);
 extern int PSP_GL_GetSwapInterval(_THIS);
 
 
-#endif /* _SDL_pspgl_c_h */
+#endif /* SDL_pspgl_c_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/psp/SDL_pspvideo.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_pspvideo_h
-#define _SDL_pspvideo_h
+#ifndef SDL_pspvideo_h_
+#define SDL_pspvideo_h_
 
 #include <GLES/egl.h>
 
@@ -97,6 +97,6 @@ void PSP_ShowScreenKeyboard(_THIS, SDL_Window *window);
 void PSP_HideScreenKeyboard(_THIS, SDL_Window *window);
 SDL_bool PSP_IsScreenKeyboardShown(_THIS, SDL_Window *window);
 
-#endif /* _SDL_pspvideo_h */
+#endif /* SDL_pspvideo_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/raspberry/SDL_rpievents_c.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_rpievents_c_h
-#define _SDL_rpievents_c_h
+#ifndef SDL_rpievents_c_h_
+#define SDL_rpievents_c_h_
 
 #include "SDL_rpivideo.h"
 
@@ -28,4 +28,4 @@ void RPI_PumpEvents(_THIS);
 void RPI_EventInit(_THIS);
 void RPI_EventQuit(_THIS);
 
-#endif /* _SDL_rpievents_c_h */
+#endif /* SDL_rpievents_c_h_ */

+ 3 - 3
src/video/raspberry/SDL_rpimouse.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_RPI_mouse_h
-#define _SDL_RPI_mouse_h
+#ifndef SDL_RPI_mouse_h_
+#define SDL_RPI_mouse_h_
 
 #include "../SDL_sysvideo.h"
 
@@ -38,6 +38,6 @@ struct _RPI_CursorData
 extern void RPI_InitMouse(_THIS);
 extern void RPI_QuitMouse(_THIS);
 
-#endif /* _SDL_RPI_mouse_h */
+#endif /* SDL_RPI_mouse_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/raspberry/SDL_rpiopengles.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_rpiopengles_h
-#define _SDL_rpiopengles_h
+#ifndef SDL_rpiopengles_h_
+#define SDL_rpiopengles_h_
 
 #if SDL_VIDEO_DRIVER_RPI && SDL_VIDEO_OPENGL_EGL
 
@@ -43,6 +43,6 @@ extern int RPI_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext contex
 
 #endif /* SDL_VIDEO_DRIVER_RPI && SDL_VIDEO_OPENGL_EGL */
 
-#endif /* _SDL_rpiopengles_h */
+#endif /* SDL_rpiopengles_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/uikit/SDL_uikitclipboard.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_uikitclipboard_h
-#define _SDL_uikitclipboard_h
+#ifndef SDL_uikitclipboard_h_
+#define SDL_uikitclipboard_h_
 
 #include "../SDL_sysvideo.h"
 
@@ -30,6 +30,6 @@ extern SDL_bool UIKit_HasClipboardText(_THIS);
 extern void UIKit_InitClipboard(_THIS);
 extern void UIKit_QuitClipboard(_THIS);
 
-#endif /* _SDL_uikitclipboard_h */
+#endif /* SDL_uikitclipboard_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/uikit/SDL_uikitevents.h

@@ -18,13 +18,13 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
-#ifndef _SDL_uikitevents_h
-#define _SDL_uikitevents_h
+#ifndef SDL_uikitevents_h_
+#define SDL_uikitevents_h_
 
 #include "../SDL_sysvideo.h"
 
 extern void UIKit_PumpEvents(_THIS);
 
-#endif /* _SDL_uikitevents_h */
+#endif /* SDL_uikitevents_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 5 - 3
src/video/uikit/SDL_uikitmetalview.h

@@ -26,8 +26,8 @@
  * how to add a CAMetalLayer backed view.
  */
 
-#ifndef _SDL_uikitmetalview_h
-#define _SDL_uikitmetalview_h
+#ifndef SDL_uikitmetalview_h_
+#define SDL_uikitmetalview_h_
 
 #import "../SDL_sysvideo.h"
 #import "SDL_uikitwindow.h"
@@ -50,4 +50,6 @@ SDL_uikitmetalview* UIKit_Mtl_AddMetalView(SDL_Window* window);
 
 void UIKit_Mtl_GetDrawableSize(SDL_Window * window, int * w, int * h);
 
-#endif /* _SDL_uikitmetalview_h */
+#endif /* SDL_uikitmetalview_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/uikit/SDL_uikitmodes.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_uikitmodes_h
-#define _SDL_uikitmodes_h
+#ifndef SDL_uikitmodes_h_
+#define SDL_uikitmodes_h_
 
 #include "SDL_uikitvideo.h"
 
@@ -45,6 +45,6 @@ extern int UIKit_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMo
 extern void UIKit_QuitModes(_THIS);
 extern int UIKit_GetDisplayUsableBounds(_THIS, SDL_VideoDisplay * display, SDL_Rect * rect);
 
-#endif /* _SDL_uikitmodes_h */
+#endif /* SDL_uikitmodes_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/uikit/SDL_uikitopengles.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_uikitopengles
-#define _SDL_uikitopengles
+#ifndef SDL_uikitopengles_
+#define SDL_uikitopengles_
 
 #include "../SDL_sysvideo.h"
 
@@ -35,6 +35,6 @@ extern int UIKit_GL_LoadLibrary(_THIS, const char *path);
 
 extern void UIKit_GL_RestoreCurrentContext(void);
 
-#endif
+#endif /* SDL_uikitopengles_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/uikit/SDL_uikitvideo.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_uikitvideo_h
-#define _SDL_uikitvideo_h
+#ifndef SDL_uikitvideo_h_
+#define SDL_uikitvideo_h_
 
 #include "../SDL_sysvideo.h"
 
@@ -41,6 +41,6 @@ void UIKit_SuspendScreenSaver(_THIS);
 
 SDL_bool UIKit_IsSystemVersionAtLeast(double version);
 
-#endif /* _SDL_uikitvideo_h */
+#endif /* SDL_uikitvideo_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/uikit/SDL_uikitvulkan.h

@@ -26,8 +26,8 @@
 
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_uikitvulkan_h
-#define _SDL_uikitvulkan_h
+#ifndef SDL_uikitvulkan_h_
+#define SDL_uikitvulkan_h_
 
 #include "../SDL_vulkan_internal.h"
 #include "../SDL_sysvideo.h"
@@ -49,6 +49,6 @@ void UIKit_Vulkan_GetDrawableSize(_THIS, SDL_Window *window, int *w, int *h);
 
 #endif
 
-#endif /* _SDL_uikitvulkan_h */
+#endif /* SDL_uikitvulkan_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/uikit/SDL_uikitwindow.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_uikitwindow_h
-#define _SDL_uikitwindow_h
+#ifndef SDL_uikitwindow_h_
+#define SDL_uikitwindow_h_
 
 #include "../SDL_sysvideo.h"
 #import "SDL_uikitvideo.h"
@@ -51,6 +51,6 @@ extern NSUInteger UIKit_GetSupportedOrientations(SDL_Window * window);
 
 @end
 
-#endif /* _SDL_uikitwindow_h */
+#endif /* SDL_uikitwindow_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/vivante/SDL_vivanteopengles.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_vivanteopengles_h
-#define _SDL_vivanteopengles_h
+#ifndef SDL_vivanteopengles_h_
+#define SDL_vivanteopengles_h_
 
 #if SDL_VIDEO_DRIVER_VIVANTE && SDL_VIDEO_OPENGL_EGL
 
@@ -43,6 +43,6 @@ extern int VIVANTE_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext co
 
 #endif /* SDL_VIDEO_DRIVER_VIVANTE && SDL_VIDEO_OPENGL_EGL */
 
-#endif /* _SDL_vivanteopengles_h */
+#endif /* SDL_vivanteopengles_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/vivante/SDL_vivanteplatform.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_vivanteplatform_h
-#define _SDL_vivanteplatform_h
+#ifndef SDL_vivanteplatform_h_
+#define SDL_vivanteplatform_h_
 
 #if SDL_VIDEO_DRIVER_VIVANTE
 
@@ -40,6 +40,6 @@ extern void VIVANTE_CleanupPlatform(_THIS);
 
 #endif /* SDL_VIDEO_DRIVER_VIVANTE */
 
-#endif /* _SDL_vivanteplatform_h */
+#endif /* SDL_vivanteplatform_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/vivante/SDL_vivantevideo.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_vivantevideo_h
-#define _SDL_vivantevideo_h
+#ifndef SDL_vivantevideo_h_
+#define SDL_vivantevideo_h_
 
 #include "../../SDL_internal.h"
 #include "../SDL_sysvideo.h"
@@ -86,6 +86,6 @@ SDL_bool VIVANTE_GetWindowWMInfo(_THIS, SDL_Window * window,
 /* Event functions */
 void VIVANTE_PumpEvents(_THIS);
 
-#endif /* _SDL_vivantevideo_h */
+#endif /* SDL_vivantevideo_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/wayland/SDL_waylandclipboard.h

@@ -20,13 +20,13 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_waylandclipboard_h
-#define _SDL_waylandclipboard_h
+#ifndef SDL_waylandclipboard_h_
+#define SDL_waylandclipboard_h_
 
 extern int Wayland_SetClipboardText(_THIS, const char *text);
 extern char *Wayland_GetClipboardText(_THIS);
 extern SDL_bool Wayland_HasClipboardText(_THIS);
 
-#endif /* _SDL_waylandclipboard_h */
+#endif /* SDL_waylandclipboard_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 5
src/video/wayland/SDL_waylanddatamanager.h

@@ -21,8 +21,8 @@
 
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_waylanddatamanager_h
-#define _SDL_waylanddatamanager_h
+#ifndef SDL_waylanddatamanager_h_
+#define SDL_waylanddatamanager_h_
 
 #include "SDL_waylandvideo.h"
 #include "SDL_waylandwindow.h"
@@ -97,9 +97,7 @@ extern int Wayland_data_device_set_selection(SDL_WaylandDataDevice *device,
                                              SDL_WaylandDataSource *source);
 extern int Wayland_data_device_set_serial(SDL_WaylandDataDevice *device,
                                           uint32_t serial);
-#endif /* _SDL_waylanddatamanager_h */
+#endif /* SDL_waylanddatamanager_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */
 
-
-

+ 3 - 3
src/video/wayland/SDL_waylanddyn.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_waylanddyn_h
-#define _SDL_waylanddyn_h
+#ifndef SDL_waylanddyn_h_
+#define SDL_waylanddyn_h_
 
 #include "../../SDL_internal.h"
 
@@ -102,6 +102,6 @@ void SDL_WAYLAND_UnloadSymbols(void);
 #include "wayland-client-protocol.h"
 #include "wayland-egl.h"
 
-#endif /* !defined _SDL_waylanddyn_h */
+#endif /* SDL_waylanddyn_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/wayland/SDL_waylandevents_c.h

@@ -21,8 +21,8 @@
 
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_waylandevents_h
-#define _SDL_waylandevents_h
+#ifndef SDL_waylandevents_h_
+#define SDL_waylandevents_h_
 
 #include "SDL_waylandvideo.h"
 #include "SDL_waylandwindow.h"
@@ -46,6 +46,6 @@ extern int Wayland_input_unlock_pointer(struct SDL_WaylandInput *input);
 extern void Wayland_display_add_relative_pointer_manager(SDL_VideoData *d, uint32_t id);
 extern void Wayland_display_destroy_relative_pointer_manager(SDL_VideoData *d);
 
-#endif /* _SDL_waylandevents_h */
+#endif /* SDL_waylandevents_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 5 - 3
src/video/wayland/SDL_waylandopengles.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_waylandopengles_h
-#define _SDL_waylandopengles_h
+#ifndef SDL_waylandopengles_h_
+#define SDL_waylandopengles_h_
 
 #include "../SDL_sysvideo.h"
 #include "../SDL_egl_c.h"
@@ -43,4 +43,6 @@ extern int Wayland_GLES_SwapWindow(_THIS, SDL_Window * window);
 extern int Wayland_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context);
 extern void Wayland_GLES_DeleteContext(_THIS, SDL_GLContext context);
 
-#endif /* _SDL_waylandopengles_h */
+#endif /* SDL_waylandopengles_h_ */
+
+/* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/wayland/SDL_waylandtouch.h

@@ -23,8 +23,8 @@
 
 #ifdef SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH
 
-#ifndef _SDL_waylandtouch_h
-#define _SDL_waylandtouch_h
+#ifndef SDL_waylandtouch_h_
+#define SDL_waylandtouch_h_
 
 #include "SDL_waylandvideo.h"
 #include <stdint.h>
@@ -347,6 +347,6 @@ qt_windowmanager_open_url(struct qt_windowmanager *qt_windowmanager, uint32_t re
              QT_WINDOWMANAGER_OPEN_URL, remaining, url);
 }
 
-#endif /* _SDL_waylandtouch_h */
+#endif /* SDL_waylandtouch_h_ */
 
 #endif /* SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH */

+ 3 - 3
src/video/wayland/SDL_waylandvideo.h

@@ -21,8 +21,8 @@
 
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_waylandvideo_h
-#define _SDL_waylandvideo_h
+#ifndef SDL_waylandvideo_h_
+#define SDL_waylandvideo_h_
 
 #include <EGL/egl.h>
 #include "wayland-util.h"
@@ -66,6 +66,6 @@ typedef struct {
     int relative_mouse_mode;
 } SDL_VideoData;
 
-#endif /* _SDL_waylandvideo_h */
+#endif /* SDL_waylandvideo_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/wayland/SDL_waylandvulkan.h

@@ -26,8 +26,8 @@
 
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_waylandvulkan_h
-#define _SDL_waylandvulkan_h
+#ifndef SDL_waylandvulkan_h_
+#define SDL_waylandvulkan_h_
 
 #include "../SDL_vulkan_internal.h"
 #include "../SDL_sysvideo.h"
@@ -47,6 +47,6 @@ SDL_bool Wayland_Vulkan_CreateSurface(_THIS,
 
 #endif
 
-#endif /* _SDL_waylandvulkan_h */
+#endif /* SDL_waylandvulkan_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/wayland/SDL_waylandwindow.h

@@ -21,8 +21,8 @@
 
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_waylandwindow_h
-#define _SDL_waylandwindow_h
+#ifndef SDL_waylandwindow_h_
+#define SDL_waylandwindow_h_
 
 #include "../SDL_sysvideo.h"
 #include "SDL_syswm.h"
@@ -61,6 +61,6 @@ extern SDL_bool
 Wayland_GetWindowWMInfo(_THIS, SDL_Window * window, SDL_SysWMinfo * info);
 extern int Wayland_SetWindowHitTest(SDL_Window *window, SDL_bool enabled);
 
-#endif /* _SDL_waylandwindow_h */
+#endif /* SDL_waylandwindow_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

+ 3 - 3
src/video/windows/SDL_msctf.h

@@ -19,8 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
-#ifndef _SDL_msctf_h
-#define _SDL_msctf_h
+#ifndef SDL_msctf_h_
+#define SDL_msctf_h_
 
 #include <unknwn.h>
 
@@ -239,4 +239,4 @@ struct ITfSource
     const struct ITfSourceVtbl *lpVtbl;
 };
 
-#endif /* _SDL_msctf_h */
+#endif /* SDL_msctf_h_ */

+ 3 - 3
src/video/windows/SDL_windowsclipboard.h

@@ -20,8 +20,8 @@
 */
 #include "../../SDL_internal.h"
 
-#ifndef _SDL_windowsclipboard_h
-#define _SDL_windowsclipboard_h
+#ifndef SDL_windowsclipboard_h_
+#define SDL_windowsclipboard_h_
 
 /* Forward declaration */
 struct SDL_VideoData;
@@ -31,6 +31,6 @@ extern char *WIN_GetClipboardText(_THIS);
 extern SDL_bool WIN_HasClipboardText(_THIS);
 extern void WIN_CheckClipboardUpdate(struct SDL_VideoData * data);
 
-#endif /* _SDL_windowsclipboard_h */
+#endif /* SDL_windowsclipboard_h_ */
 
 /* vi: set ts=4 sw=4 expandtab: */

Some files were not shown because too many files changed in this diff