Mostly cleaned up warnings with -Wmissing-prototypes

This commit is contained in:
Sam Lantinga 2010-06-26 08:56:48 -07:00
parent b46edfbdc6
commit 95fbd50b15
23 changed files with 88 additions and 39 deletions

View file

@ -304,7 +304,7 @@ SDL_GetCurrentVideoDriver()
}
SDL_VideoDevice *
SDL_GetVideoDevice()
SDL_GetVideoDevice(void)
{
return _this;
}
@ -717,16 +717,6 @@ SDL_SetDisplayModeForDisplay(SDL_VideoDisplay * display, const SDL_DisplayMode *
return 0;
}
int
SDL_SetDisplayMode(const SDL_DisplayMode * mode)
{
if (!_this) {
SDL_UninitializedVideo();
return -1;
}
return SDL_SetDisplayModeForDisplay(SDL_CurrentDisplay, mode);
}
int
SDL_SetWindowDisplayMode(SDL_Window * window, const SDL_DisplayMode * mode)
{