changeset 2996:972a69e47cd9

Added missing void
author Sam Lantinga <slouken@libsdl.org>
date Sun, 04 Jan 2009 23:36:53 +0000
parents b3f23a4b4547
children e4f025078c1c
files include/SDL_version.h src/SDL.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }