Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Added missing void

  • Loading branch information
slouken committed Jan 4, 2009
1 parent 606c6b6 commit 9226398007c90cd492e39d49a44bd2a5e94181e8
Showing with 3 additions and 3 deletions.
  1. +2 −2 include/SDL_version.h
  2. +1 −1 src/SDL.c
@@ -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
@@ -298,7 +298,7 @@ SDL_GetVersion(SDL_version * ver)

/* Get the library source revision */
int
SDL_GetRevision()
SDL_GetRevision(void)
{
return SDL_REVISION;
}

0 comments on commit 9226398

Please sign in to comment.