Mercurial > sdl-ios-xcode
comparison src/video/riscos/SDL_riscosFullScreenVideo.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 |
comparison
equal
deleted
inserted
replaced
1337:c687f06c7473 | 1338:604d73db6802 |
---|---|
25 27 March 2003 | 25 27 March 2003 |
26 | 26 |
27 Implements RISC OS full screen display. | 27 Implements RISC OS full screen display. |
28 */ | 28 */ |
29 | 29 |
30 #include <stdio.h> | |
31 #include <stdlib.h> | |
32 #include <string.h> | |
33 | |
34 #include "SDL.h" | 30 #include "SDL.h" |
31 #include "SDL_stdlib.h" | |
32 #include "SDL_string.h" | |
35 #include "SDL_error.h" | 33 #include "SDL_error.h" |
36 #include "SDL_video.h" | 34 #include "SDL_video.h" |
37 #include "SDL_mouse.h" | 35 #include "SDL_mouse.h" |
38 #include "SDL_sysvideo.h" | 36 #include "SDL_sysvideo.h" |
39 #include "SDL_pixels_c.h" | 37 #include "SDL_pixels_c.h" |
355 SDL_free(enumInfo); | 353 SDL_free(enumInfo); |
356 | 354 |
357 /* Sort the mode lists */ | 355 /* Sort the mode lists */ |
358 for ( j=0; j<NUM_MODELISTS; ++j ) { | 356 for ( j=0; j<NUM_MODELISTS; ++j ) { |
359 if ( SDL_nummodes[j] > 0 ) { | 357 if ( SDL_nummodes[j] > 0 ) { |
360 qsort(SDL_modelist[j], SDL_nummodes[j], sizeof *SDL_modelist[j], cmpmodes); | 358 SDL_qsort(SDL_modelist[j], SDL_nummodes[j], sizeof *SDL_modelist[j], cmpmodes); |
361 } | 359 } |
362 } | 360 } |
363 } | 361 } |
364 | 362 |
365 static int FULLSCREEN_FlipHWSurface(_THIS, SDL_Surface *surface) | 363 static int FULLSCREEN_FlipHWSurface(_THIS, SDL_Surface *surface) |