src/video/x11/SDL_x11dyn.h
branchSDL-1.3
changeset 1662 782fd950bd46
parent 1599 ecba4bbaf9c2
child 1668 4da1ee79c9af
     1.1 --- a/src/video/x11/SDL_x11dyn.h	Sun May 21 17:27:13 2006 +0000
     1.2 +++ b/src/video/x11/SDL_x11dyn.h	Sun May 28 13:04:16 2006 +0000
     1.3 @@ -54,20 +54,23 @@
     1.4   *  headers that may or may not exist or vary on a given platform.
     1.5   */
     1.6  #ifdef __cplusplus
     1.7 -extern "C" {
     1.8 +extern "C"
     1.9 +{
    1.10  #endif
    1.11  
    1.12  /* evil function signatures... */
    1.13 -typedef Bool (*SDL_X11_XESetWireToEventRetType)(Display*,XEvent*,xEvent*);
    1.14 -typedef int (*SDL_X11_XSynchronizeRetType)(Display*);
    1.15 -typedef Status (*SDL_X11_XESetEventToWireRetType)(Display*,XEvent*,xEvent*);
    1.16 +    typedef Bool (*SDL_X11_XESetWireToEventRetType) (Display *, XEvent *,
    1.17 +                                                     xEvent *);
    1.18 +    typedef int (*SDL_X11_XSynchronizeRetType) (Display *);
    1.19 +    typedef Status (*SDL_X11_XESetEventToWireRetType) (Display *, XEvent *,
    1.20 +                                                       xEvent *);
    1.21  
    1.22 -int SDL_X11_LoadSymbols(void);
    1.23 -void SDL_X11_UnloadSymbols(void);
    1.24 +    int SDL_X11_LoadSymbols (void);
    1.25 +    void SDL_X11_UnloadSymbols (void);
    1.26  
    1.27  /* That's really annoying...make this a function pointer no matter what. */
    1.28  #ifdef X_HAVE_UTF8_STRING
    1.29 -extern XIC (*pXCreateIC)(XIM,...);
    1.30 +    extern XIC (*pXCreateIC) (XIM, ...);
    1.31  #endif
    1.32  
    1.33  /* These SDL_X11_HAVE_* flags are here whether you have dynamic X11 or not. */
    1.34 @@ -82,5 +85,5 @@
    1.35  }
    1.36  #endif
    1.37  
    1.38 -#endif  /* !defined _SDL_x11dyn_h */
    1.39 -
    1.40 +#endif                          /* !defined _SDL_x11dyn_h */
    1.41 +/* vi: set ts=4 sw=4 expandtab: */