Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Added missing void
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 4, 2009
1 parent 606c6b6 commit 9226398
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/SDL_version.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/SDL.c
Expand Up @@ -298,7 +298,7 @@ SDL_GetVersion(SDL_version * ver)

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

0 comments on commit 9226398

Please sign in to comment.