# HG changeset patch # User Sam Lantinga # Date 1231112213 0 # Node ID 972a69e47cd99e918bc57e3c2bec7ab06b019ba0 # Parent b3f23a4b45472c4eaa46536c977b1b3463501cdb Added missing void diff -r b3f23a4b4547 -r 972a69e47cd9 include/SDL_version.h --- a/include/SDL_version.h Sun Jan 04 19:36:55 2009 +0000 +++ b/include/SDL_version.h Sun Jan 04 23:36:53 2009 +0000 @@ -133,10 +133,10 @@ extern DECLSPEC void SDLCALL SDL_GetVersion(SDL_version * ver); /** - * \fn int SDL_GetRevision() + * \fn int SDL_GetRevision(void) * \brief Get the code revision of SDL that is linked against your program. */ -extern DECLSPEC int SDLCALL SDL_GetRevision(); +extern DECLSPEC int SDLCALL SDL_GetRevision(void); /* Ends C function definitions when using C++ */ #ifdef __cplusplus diff -r b3f23a4b4547 -r 972a69e47cd9 src/SDL.c --- a/src/SDL.c Sun Jan 04 19:36:55 2009 +0000 +++ b/src/SDL.c Sun Jan 04 23:36:53 2009 +0000 @@ -298,7 +298,7 @@ /* Get the library source revision */ int -SDL_GetRevision() +SDL_GetRevision(void) { return SDL_REVISION; }