From 9226398007c90cd492e39d49a44bd2a5e94181e8 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 4 Jan 2009 23:36:53 +0000 Subject: [PATCH] Added missing void --- include/SDL_version.h | 4 ++-- src/SDL.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/SDL_version.h b/include/SDL_version.h index 66627acd5..702386ba4 100644 --- a/include/SDL_version.h +++ b/include/SDL_version.h @@ -133,10 +133,10 @@ typedef struct SDL_version 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 diff --git a/src/SDL.c b/src/SDL.c index 34102e4ef..873e9fc3c 100644 --- a/src/SDL.c +++ b/src/SDL.c @@ -298,7 +298,7 @@ SDL_GetVersion(SDL_version * ver) /* Get the library source revision */ int -SDL_GetRevision() +SDL_GetRevision(void) { return SDL_REVISION; }