Whoops, forgot to indent SDL-1.3
authorSam Lantinga <slouken@libsdl.org>
Mon, 26 Jun 2006 14:29:50 +0000
branchSDL-1.3
changeset 1713 3e66ed1690e4
parent 1712 931d111e737a
child 1714 b025e419d344
Whoops, forgot to indent
include/SDL_compat.h
src/SDL.c
src/video/win32/SDL_win32window.c
src/video/win32/SDL_win32window.h
test/testwm2.c
--- 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);
         }
     }