this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Made #include <stdlib.h> apply to all platforms in glew.c. Made stdlib.h dependency explicit in test programs.

+11 -2
+1 -2
src/externals/glew/glew.c
··· 39 39 #endif 40 40 41 41 #include <stddef.h> /* For size_t */ 42 + #include <stdlib.h> 42 43 43 44 /* 44 45 * Define glewGetContext and related helper macros. ··· 88 89 #elif defined(__sgi) || defined (__sun) || defined(__HAIKU__) || defined(GLEW_APPLE_GLX) 89 90 #include <dlfcn.h> 90 91 #include <stdio.h> 91 - #include <stdlib.h> 92 92 93 93 void* dlGetProcAddress (const GLubyte* name) 94 94 { ··· 109 109 #endif /* __sgi || __sun || GLEW_APPLE_GLX */ 110 110 111 111 #if defined(__APPLE__) 112 - #include <stdlib.h> 113 112 #include <string.h> 114 113 #include <AvailabilityMacros.h> 115 114
+1
tests/blit-batch/main.c
··· 1 1 #include "SDL.h" 2 2 #include "SDL_gpu.h" 3 3 #include "common.h" 4 + #include <stdlib.h> 4 5 5 6 6 7 typedef Uint32 BlitFlagEnum;
+1
tests/image-formats/main.c
··· 2 2 #include "SDL_gpu.h" 3 3 #include <math.h> 4 4 #include "common.h" 5 + #include <stdlib.h> 5 6 6 7 7 8 void log_surface_details(SDL_Surface* surface)
+1
tests/intermediate/main.c
··· 3 3 #include <math.h> 4 4 #include "compat.h" 5 5 #include "common.h" 6 + #include <stdlib.h> 6 7 7 8 8 9 int main(int argc, char* argv[])
+1
tests/polygon-blit/main.c
··· 2 2 #include "SDL_gpu.h" 3 3 #include <math.h> 4 4 #include "common.h" 5 + #include <stdlib.h> 5 6 6 7 7 8 void set_vertex(float* vertex_array, unsigned int vertex_index, unsigned short* index_array, unsigned int index_array_index, float x, float y, float s, float t, float r, float g, float b, float a)
+1
tests/renderer/main.c
··· 2 2 #include "SDL_gpu.h" 3 3 #include "SDL_gpu_RendererImpl.h" 4 4 #include "common.h" 5 + #include <stdlib.h> 5 6 6 7 7 8 #ifdef _MSC_VER
+1
tests/shapes/main.c
··· 3 3 #include <math.h> 4 4 #include "compat.h" 5 5 #include "common.h" 6 + #include <stdlib.h> 6 7 7 8 #ifndef M_PI 8 9 #define M_PI 3.14159f
+1
tests/sprite-stress/main.c
··· 1 1 #include "SDL.h" 2 2 #include "SDL_gpu.h" 3 3 #include "common.h" 4 + #include <stdlib.h> 4 5 5 6 6 7 int main(int argc, char* argv[])
+1
tests/triangle-batch/main.c
··· 1 1 #include "SDL.h" 2 2 #include "SDL_gpu.h" 3 3 #include "common.h" 4 + #include <stdlib.h> 4 5 5 6 void fill_vertex_values(float* vertex_values, float* velx, float* vely, unsigned int max_vertices, GPU_Target* screen, GPU_Image* image) 6 7 {
+1
tools/compare-images-src/main.c
··· 3 3 #include <math.h> 4 4 #include "compat.h" 5 5 #include "common.h" 6 + #include <stdlib.h> 6 7 7 8 #define PI 3.14159265359 8 9
+1
tools/thumb-viewer-src/main.c
··· 3 3 #include <math.h> 4 4 #include "compat.h" 5 5 #include "common.h" 6 + #include <stdlib.h> 6 7 7 8 8 9 int main(int argc, char* argv[])