diff src/video/dummy/SDL_nullvideo.c @ 1338:604d73db6802

Removed uses of stdlib.h and string.h
author Sam Lantinga <slouken@libsdl.org>
date Tue, 07 Feb 2006 09:29:18 +0000
parents 3692456e7b0f
children c71e05b4dc2e
line wrap: on
line diff
--- a/src/video/dummy/SDL_nullvideo.c	Tue Feb 07 07:03:29 2006 +0000
+++ b/src/video/dummy/SDL_nullvideo.c	Tue Feb 07 09:29:18 2006 +0000
@@ -35,11 +35,9 @@
  *  SDL video driver.  Renamed to "DUMMY" by Sam Lantinga.
  */
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
 #include "SDL.h"
+#include "SDL_stdlib.h"
+#include "SDL_string.h"
 #include "SDL_error.h"
 #include "SDL_video.h"
 #include "SDL_mouse.h"
@@ -145,7 +143,9 @@
 
 int DUMMY_VideoInit(_THIS, SDL_PixelFormat *vformat)
 {
+	/*
 	fprintf(stderr, "WARNING: You are using the SDL dummy video driver!\n");
+	*/
 
 	/* Determine the screen depth (use default 8-bit depth) */
 	/* we change this during the SDL_SetVideoMode implementation... */