comparison src/video/SDL_gamma.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
34 #include "e_log.h" 34 #include "e_log.h"
35 #define pow(x, y) __ieee754_pow(x, y) 35 #define pow(x, y) __ieee754_pow(x, y)
36 #define log(x) __ieee754_log(x) 36 #define log(x) __ieee754_log(x)
37 #endif 37 #endif
38 38
39 #include "SDL_error.h"
40 #include "SDL_stdlib.h" 39 #include "SDL_stdlib.h"
41 #include "SDL_string.h" 40 #include "SDL_string.h"
41 #include "SDL_error.h"
42 #include "SDL_sysvideo.h" 42 #include "SDL_sysvideo.h"
43 43
44 44
45 static void CalculateGammaRamp(float gamma, Uint16 *ramp) 45 static void CalculateGammaRamp(float gamma, Uint16 *ramp)
46 { 46 {