Added missing void
authorSam Lantinga <slouken@libsdl.org>
Sun, 04 Jan 2009 23:36:53 +0000
changeset 2996 972a69e47cd9
parent 2995 b3f23a4b4547
child 2997 e4f025078c1c
Added missing void
include/SDL_version.h
src/SDL.c
--- 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;
 }