diff src/video/SDL_video.c @ 4472:791b3256fb22

Mostly cleaned up warnings with -Wmissing-prototypes
author Sam Lantinga <slouken@libsdl.org>
date Sat, 26 Jun 2010 08:56:48 -0700
parents 9fa97c6b0014
children dbbfdb9ea716 22aa6a631d34
line wrap: on
line diff
--- a/src/video/SDL_video.c	Thu Jun 17 22:23:20 2010 -0700
+++ b/src/video/SDL_video.c	Sat Jun 26 08:56:48 2010 -0700
@@ -304,7 +304,7 @@
 }
 
 SDL_VideoDevice *
-SDL_GetVideoDevice()
+SDL_GetVideoDevice(void)
 {
     return _this;
 }
@@ -718,16 +718,6 @@
 }
 
 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)
 {
     CHECK_WINDOW_MAGIC(window, -1);