changeset 1713:3e66ed1690e4 SDL-1.3

Whoops, forgot to indent
author Sam Lantinga <slouken@libsdl.org>
date Mon, 26 Jun 2006 14:29:50 +0000
parents 931d111e737a
children b025e419d344
files include/SDL_compat.h src/SDL.c src/video/win32/SDL_win32window.c src/video/win32/SDL_win32window.h test/testwm2.c
diffstat 5 files changed, 36 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/include/SDL_compat.h	Mon Jun 26 13:56:56 2006 +0000
+++ b/include/SDL_compat.h	Mon Jun 26 14:29:50 2006 +0000
@@ -153,7 +153,7 @@
 extern DECLSPEC int SDLCALL SDL_SetColors(SDL_Surface * surface,
                                           const SDL_Color * colors,
                                           int firstcolor, int ncolors);
-extern DECLSPEC int SDLCALL SDL_GetWMInfo(struct SDL_SysWMinfo * info);
+extern DECLSPEC int SDLCALL SDL_GetWMInfo(struct SDL_SysWMinfo *info);
 extern DECLSPEC Uint8 SDLCALL SDL_GetAppState(void);
 extern DECLSPEC void SDLCALL SDL_WarpMouse(Uint16 x, Uint16 y);
 extern DECLSPEC SDL_Overlay *SDLCALL SDL_CreateYUVOverlay(int width,
--- a/src/SDL.c	Mon Jun 26 13:56:56 2006 +0000
+++ b/src/SDL.c	Mon Jun 26 14:29:50 2006 +0000
@@ -348,7 +348,8 @@
 }
 #endif /* building DLL with Watcom C */
 
-void SDL_SetModuleHandle(void *hInst)
+void
+SDL_SetModuleHandle(void *hInst)
 {
     /* FIXME: Do we still need this? */
 }
--- a/src/video/win32/SDL_win32window.c	Mon Jun 26 13:56:56 2006 +0000
+++ b/src/video/win32/SDL_win32window.c	Mon Jun 26 14:29:50 2006 +0000
@@ -26,59 +26,73 @@
 #include "SDL_win32video.h"
 
 
-int WIN32_CreateWindow(_THIS, SDL_Window * window)
+int
+WIN32_CreateWindow(_THIS, SDL_Window * window)
 {
 }
 
-int WIN32_CreateWindowFrom(_THIS, SDL_Window * window, const void *data)
+int
+WIN32_CreateWindowFrom(_THIS, SDL_Window * window, const void *data)
 {
 }
 
-void WIN32_SetWindowTitle(_THIS, SDL_Window * window)
+void
+WIN32_SetWindowTitle(_THIS, SDL_Window * window)
 {
 }
 
-void WIN32_SetWindowPosition(_THIS, SDL_Window * window)
+void
+WIN32_SetWindowPosition(_THIS, SDL_Window * window)
 {
 }
 
-void WIN32_SetWindowSize(_THIS, SDL_Window * window)
+void
+WIN32_SetWindowSize(_THIS, SDL_Window * window)
 {
 }
 
-void WIN32_ShowWindow(_THIS, SDL_Window * window)
+void
+WIN32_ShowWindow(_THIS, SDL_Window * window)
 {
 }
 
-void WIN32_HideWindow(_THIS, SDL_Window * window)
+void
+WIN32_HideWindow(_THIS, SDL_Window * window)
 {
 }
 
-void WIN32_RaiseWindow(_THIS, SDL_Window * window)
+void
+WIN32_RaiseWindow(_THIS, SDL_Window * window)
 {
 }
 
-void WIN32_MaximizeWindow(_THIS, SDL_Window * window)
+void
+WIN32_MaximizeWindow(_THIS, SDL_Window * window)
 {
 }
 
-void WIN32_MinimizeWindow(_THIS, SDL_Window * window)
+void
+WIN32_MinimizeWindow(_THIS, SDL_Window * window)
 {
 }
 
-void WIN32_RestoreWindow(_THIS, SDL_Window * window)
+void
+WIN32_RestoreWindow(_THIS, SDL_Window * window)
 {
 }
 
-void WIN32_SetWindowGrab(_THIS, SDL_Window * window)
+void
+WIN32_SetWindowGrab(_THIS, SDL_Window * window)
 {
 }
 
-void WIN32_DestroyWindow(_THIS, SDL_Window * window)
+void
+WIN32_DestroyWindow(_THIS, SDL_Window * window)
 {
 }
 
-SDL_bool WIN32_GetWindowWMInfo(_THIS, SDL_Window * window, SDL_SysWMinfo * info)
+SDL_bool
+WIN32_GetWindowWMInfo(_THIS, SDL_Window * window, SDL_SysWMinfo * info)
 {
 }
 
--- a/src/video/win32/SDL_win32window.h	Mon Jun 26 13:56:56 2006 +0000
+++ b/src/video/win32/SDL_win32window.h	Mon Jun 26 14:29:50 2006 +0000
@@ -28,7 +28,8 @@
 #include "SDL_win32video.h"
 
 extern int WIN32_CreateWindow(_THIS, SDL_Window * window);
-extern int WIN32_CreateWindowFrom(_THIS, SDL_Window * window, const void *data);
+extern int WIN32_CreateWindowFrom(_THIS, SDL_Window * window,
+                                  const void *data);
 extern void WIN32_SetWindowTitle(_THIS, SDL_Window * window);
 extern void WIN32_SetWindowPosition(_THIS, SDL_Window * window);
 extern void WIN32_SetWindowSize(_THIS, SDL_Window * window);
@@ -40,7 +41,8 @@
 extern void WIN32_RestoreWindow(_THIS, SDL_Window * window);
 extern void WIN32_SetWindowGrab(_THIS, SDL_Window * window);
 extern void WIN32_DestroyWindow(_THIS, SDL_Window * window);
-extern SDL_bool WIN32_GetWindowWMInfo(_THIS, SDL_Window * window, SDL_SysWMinfo * info);
+extern SDL_bool WIN32_GetWindowWMInfo(_THIS, SDL_Window * window,
+                                      SDL_SysWMinfo * info);
 
 #endif /* _SDL_win32window_h */
 
--- a/test/testwm2.c	Mon Jun 26 13:56:56 2006 +0000
+++ b/test/testwm2.c	Mon Jun 26 14:29:50 2006 +0000
@@ -45,8 +45,7 @@
             window_h = atoi(argv[argc]);
             --argc;
         } else {
-            fprintf(stderr,
-                    "Usage: %s [-width] [-height]\n", argv[0]);
+            fprintf(stderr, "Usage: %s [-width] [-height]\n", argv[0]);
             quit(1);
         }
     }