Whoops, forgot to indent SDL-1.3
authorSam Lantinga <slouken@libsdl.org>
Mon, 26 Jun 2006 14:29:50 +0000
branchSDL-1.3
changeset 17133e66ed1690e4
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
     1.1 --- a/include/SDL_compat.h	Mon Jun 26 13:56:56 2006 +0000
     1.2 +++ b/include/SDL_compat.h	Mon Jun 26 14:29:50 2006 +0000
     1.3 @@ -153,7 +153,7 @@
     1.4  extern DECLSPEC int SDLCALL SDL_SetColors(SDL_Surface * surface,
     1.5                                            const SDL_Color * colors,
     1.6                                            int firstcolor, int ncolors);
     1.7 -extern DECLSPEC int SDLCALL SDL_GetWMInfo(struct SDL_SysWMinfo * info);
     1.8 +extern DECLSPEC int SDLCALL SDL_GetWMInfo(struct SDL_SysWMinfo *info);
     1.9  extern DECLSPEC Uint8 SDLCALL SDL_GetAppState(void);
    1.10  extern DECLSPEC void SDLCALL SDL_WarpMouse(Uint16 x, Uint16 y);
    1.11  extern DECLSPEC SDL_Overlay *SDLCALL SDL_CreateYUVOverlay(int width,
     2.1 --- a/src/SDL.c	Mon Jun 26 13:56:56 2006 +0000
     2.2 +++ b/src/SDL.c	Mon Jun 26 14:29:50 2006 +0000
     2.3 @@ -348,7 +348,8 @@
     2.4  }
     2.5  #endif /* building DLL with Watcom C */
     2.6  
     2.7 -void SDL_SetModuleHandle(void *hInst)
     2.8 +void
     2.9 +SDL_SetModuleHandle(void *hInst)
    2.10  {
    2.11      /* FIXME: Do we still need this? */
    2.12  }
     3.1 --- a/src/video/win32/SDL_win32window.c	Mon Jun 26 13:56:56 2006 +0000
     3.2 +++ b/src/video/win32/SDL_win32window.c	Mon Jun 26 14:29:50 2006 +0000
     3.3 @@ -26,59 +26,73 @@
     3.4  #include "SDL_win32video.h"
     3.5  
     3.6  
     3.7 -int WIN32_CreateWindow(_THIS, SDL_Window * window)
     3.8 +int
     3.9 +WIN32_CreateWindow(_THIS, SDL_Window * window)
    3.10  {
    3.11  }
    3.12  
    3.13 -int WIN32_CreateWindowFrom(_THIS, SDL_Window * window, const void *data)
    3.14 +int
    3.15 +WIN32_CreateWindowFrom(_THIS, SDL_Window * window, const void *data)
    3.16  {
    3.17  }
    3.18  
    3.19 -void WIN32_SetWindowTitle(_THIS, SDL_Window * window)
    3.20 +void
    3.21 +WIN32_SetWindowTitle(_THIS, SDL_Window * window)
    3.22  {
    3.23  }
    3.24  
    3.25 -void WIN32_SetWindowPosition(_THIS, SDL_Window * window)
    3.26 +void
    3.27 +WIN32_SetWindowPosition(_THIS, SDL_Window * window)
    3.28  {
    3.29  }
    3.30  
    3.31 -void WIN32_SetWindowSize(_THIS, SDL_Window * window)
    3.32 +void
    3.33 +WIN32_SetWindowSize(_THIS, SDL_Window * window)
    3.34  {
    3.35  }
    3.36  
    3.37 -void WIN32_ShowWindow(_THIS, SDL_Window * window)
    3.38 +void
    3.39 +WIN32_ShowWindow(_THIS, SDL_Window * window)
    3.40  {
    3.41  }
    3.42  
    3.43 -void WIN32_HideWindow(_THIS, SDL_Window * window)
    3.44 +void
    3.45 +WIN32_HideWindow(_THIS, SDL_Window * window)
    3.46  {
    3.47  }
    3.48  
    3.49 -void WIN32_RaiseWindow(_THIS, SDL_Window * window)
    3.50 +void
    3.51 +WIN32_RaiseWindow(_THIS, SDL_Window * window)
    3.52  {
    3.53  }
    3.54  
    3.55 -void WIN32_MaximizeWindow(_THIS, SDL_Window * window)
    3.56 +void
    3.57 +WIN32_MaximizeWindow(_THIS, SDL_Window * window)
    3.58  {
    3.59  }
    3.60  
    3.61 -void WIN32_MinimizeWindow(_THIS, SDL_Window * window)
    3.62 +void
    3.63 +WIN32_MinimizeWindow(_THIS, SDL_Window * window)
    3.64  {
    3.65  }
    3.66  
    3.67 -void WIN32_RestoreWindow(_THIS, SDL_Window * window)
    3.68 +void
    3.69 +WIN32_RestoreWindow(_THIS, SDL_Window * window)
    3.70  {
    3.71  }
    3.72  
    3.73 -void WIN32_SetWindowGrab(_THIS, SDL_Window * window)
    3.74 +void
    3.75 +WIN32_SetWindowGrab(_THIS, SDL_Window * window)
    3.76  {
    3.77  }
    3.78  
    3.79 -void WIN32_DestroyWindow(_THIS, SDL_Window * window)
    3.80 +void
    3.81 +WIN32_DestroyWindow(_THIS, SDL_Window * window)
    3.82  {
    3.83  }
    3.84  
    3.85 -SDL_bool WIN32_GetWindowWMInfo(_THIS, SDL_Window * window, SDL_SysWMinfo * info)
    3.86 +SDL_bool
    3.87 +WIN32_GetWindowWMInfo(_THIS, SDL_Window * window, SDL_SysWMinfo * info)
    3.88  {
    3.89  }
    3.90  
     4.1 --- a/src/video/win32/SDL_win32window.h	Mon Jun 26 13:56:56 2006 +0000
     4.2 +++ b/src/video/win32/SDL_win32window.h	Mon Jun 26 14:29:50 2006 +0000
     4.3 @@ -28,7 +28,8 @@
     4.4  #include "SDL_win32video.h"
     4.5  
     4.6  extern int WIN32_CreateWindow(_THIS, SDL_Window * window);
     4.7 -extern int WIN32_CreateWindowFrom(_THIS, SDL_Window * window, const void *data);
     4.8 +extern int WIN32_CreateWindowFrom(_THIS, SDL_Window * window,
     4.9 +                                  const void *data);
    4.10  extern void WIN32_SetWindowTitle(_THIS, SDL_Window * window);
    4.11  extern void WIN32_SetWindowPosition(_THIS, SDL_Window * window);
    4.12  extern void WIN32_SetWindowSize(_THIS, SDL_Window * window);
    4.13 @@ -40,7 +41,8 @@
    4.14  extern void WIN32_RestoreWindow(_THIS, SDL_Window * window);
    4.15  extern void WIN32_SetWindowGrab(_THIS, SDL_Window * window);
    4.16  extern void WIN32_DestroyWindow(_THIS, SDL_Window * window);
    4.17 -extern SDL_bool WIN32_GetWindowWMInfo(_THIS, SDL_Window * window, SDL_SysWMinfo * info);
    4.18 +extern SDL_bool WIN32_GetWindowWMInfo(_THIS, SDL_Window * window,
    4.19 +                                      SDL_SysWMinfo * info);
    4.20  
    4.21  #endif /* _SDL_win32window_h */
    4.22  
     5.1 --- a/test/testwm2.c	Mon Jun 26 13:56:56 2006 +0000
     5.2 +++ b/test/testwm2.c	Mon Jun 26 14:29:50 2006 +0000
     5.3 @@ -45,8 +45,7 @@
     5.4              window_h = atoi(argv[argc]);
     5.5              --argc;
     5.6          } else {
     5.7 -            fprintf(stderr,
     5.8 -                    "Usage: %s [-width] [-height]\n", argv[0]);
     5.9 +            fprintf(stderr, "Usage: %s [-width] [-height]\n", argv[0]);
    5.10              quit(1);
    5.11          }
    5.12      }