Added missing void
authorSam Lantinga <slouken@libsdl.org>
Sun, 04 Jan 2009 23:36:53 +0000
changeset 2996972a69e47cd9
parent 2995 b3f23a4b4547
child 2997 e4f025078c1c
Added missing void
include/SDL_version.h
src/SDL.c
     1.1 --- a/include/SDL_version.h	Sun Jan 04 19:36:55 2009 +0000
     1.2 +++ b/include/SDL_version.h	Sun Jan 04 23:36:53 2009 +0000
     1.3 @@ -133,10 +133,10 @@
     1.4  extern DECLSPEC void SDLCALL SDL_GetVersion(SDL_version * ver);
     1.5  
     1.6  /**
     1.7 - * \fn int SDL_GetRevision()
     1.8 + * \fn int SDL_GetRevision(void)
     1.9   * \brief Get the code revision of SDL that is linked against your program.
    1.10   */
    1.11 -extern DECLSPEC int SDLCALL SDL_GetRevision();
    1.12 +extern DECLSPEC int SDLCALL SDL_GetRevision(void);
    1.13  
    1.14  /* Ends C function definitions when using C++ */
    1.15  #ifdef __cplusplus
     2.1 --- a/src/SDL.c	Sun Jan 04 19:36:55 2009 +0000
     2.2 +++ b/src/SDL.c	Sun Jan 04 23:36:53 2009 +0000
     2.3 @@ -298,7 +298,7 @@
     2.4  
     2.5  /* Get the library source revision */
     2.6  int
     2.7 -SDL_GetRevision()
     2.8 +SDL_GetRevision(void)
     2.9  {
    2.10      return SDL_REVISION;
    2.11  }