--- 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
--- 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;
}