Added missing void

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403458
This commit is contained in:
Sam Lantinga 2009-01-04 23:36:53 +00:00
parent 33fcc9cdfe
commit dade1f12e6
2 changed files with 3 additions and 3 deletions

View file

@ -133,10 +133,10 @@ typedef struct SDL_version
extern DECLSPEC void SDLCALL SDL_GetVersion(SDL_version * ver); 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. * \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++ */ /* Ends C function definitions when using C++ */
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -298,7 +298,7 @@ SDL_GetVersion(SDL_version * ver)
/* Get the library source revision */ /* Get the library source revision */
int int
SDL_GetRevision() SDL_GetRevision(void)
{ {
return SDL_REVISION; return SDL_REVISION;
} }