ソースを参照

add missing newlines at end of dos sources.

Ozkan Sezer 2 週間 前
コミット
1023f48b5a

+ 1 - 1
src/core/dos/SDL_dos_scheduler.h

@@ -104,4 +104,4 @@ void DOS_DestroyThread(int thread_id);
 }
 }
 #endif
 #endif
 
 
-#endif // SDL_dos_scheduler_h_
+#endif // SDL_dos_scheduler_h_

+ 1 - 1
src/joystick/dos/SDL_sysjoystick.c

@@ -339,4 +339,4 @@ SDL_JoystickDriver SDL_DOS_JoystickDriver = {
     DOS_JoystickGetGamepadMapping
     DOS_JoystickGetGamepadMapping
 };
 };
 
 
-#endif /* SDL_JOYSTICK_DOS */
+#endif /* SDL_JOYSTICK_DOS */

+ 1 - 1
src/thread/dos/SDL_sysmutex.c

@@ -119,4 +119,4 @@ void SDL_UnlockMutex(SDL_Mutex *mutex) SDL_NO_THREAD_SAFETY_ANALYSIS
     DOS_EnableInterrupts();
     DOS_EnableInterrupts();
 }
 }
 
 
-#endif /* SDL_THREAD_DOS */
+#endif /* SDL_THREAD_DOS */

+ 1 - 1
src/thread/dos/SDL_syssem.c

@@ -112,4 +112,4 @@ void SDL_SignalSemaphore(SDL_Semaphore *sem)
     DOS_EnableInterrupts();
     DOS_EnableInterrupts();
 }
 }
 
 
-#endif /* SDL_THREAD_DOS */
+#endif /* SDL_THREAD_DOS */

+ 1 - 1
src/thread/dos/SDL_systhread.c

@@ -84,4 +84,4 @@ bool SDL_SYS_SetThreadPriority(SDL_ThreadPriority priority)
     return true;
     return true;
 }
 }
 
 
-#endif /* SDL_THREAD_DOS */
+#endif /* SDL_THREAD_DOS */

+ 1 - 1
src/thread/dos/SDL_systhread_c.h

@@ -25,4 +25,4 @@
 /* DOS thread handle is an integer thread ID from the DOS scheduler */
 /* DOS thread handle is an integer thread ID from the DOS scheduler */
 typedef int SYS_ThreadHandle;
 typedef int SYS_ThreadHandle;
 
 
-#endif /* SDL_systhread_c_h_ */
+#endif /* SDL_systhread_c_h_ */

+ 2 - 1
src/thread/dos/SDL_systls.c

@@ -18,6 +18,7 @@
      misrepresented as being the original software.
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
   3. This notice may not be removed or altered from any source distribution.
 */
 */
+
 #include "SDL_internal.h"
 #include "SDL_internal.h"
 
 
 #ifdef SDL_THREAD_DOS
 #ifdef SDL_THREAD_DOS
@@ -60,4 +61,4 @@ void SDL_SYS_QuitTLSData(void)
     SDL_memset(tls_data, 0, sizeof(tls_data));
     SDL_memset(tls_data, 0, sizeof(tls_data));
 }
 }
 
 
-#endif /* SDL_THREAD_DOS */
+#endif /* SDL_THREAD_DOS */

+ 1 - 1
src/timer/dos/SDL_systimer.c

@@ -67,4 +67,4 @@ void SDL_SYS_DelayNS(Uint64 ns)
     }
     }
 }
 }
 
 
-#endif /* SDL_TIMER_DOS */
+#endif /* SDL_TIMER_DOS */

+ 1 - 1
src/video/dos/SDL_dosmodes.h

@@ -47,4 +47,4 @@ extern const char *DOSVESA_GetGPUName(void);
 // Combination: a usable banked window must be both supported and writable
 // Combination: a usable banked window must be both supported and writable
 #define VBE_WINATTR_USABLE (VBE_WINATTR_SUPPORTED | VBE_WINATTR_WRITABLE)
 #define VBE_WINATTR_USABLE (VBE_WINATTR_SUPPORTED | VBE_WINATTR_WRITABLE)
 
 
-#endif // SDL_dosmodes_h_
+#endif // SDL_dosmodes_h_