Commit dade1f12 authored by Sam Lantinga's avatar Sam Lantinga

Added missing void

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403458
parent 33fcc9cd
...@@ -133,10 +133,10 @@ typedef struct SDL_version ...@@ -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
......
...@@ -298,7 +298,7 @@ SDL_GetVersion(SDL_version * ver) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment