remove unused includes
This commit is contained in:
		@@ -2,11 +2,9 @@
 | 
				
			|||||||
#define CONTEXT_H
 | 
					#define CONTEXT_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "config.h"
 | 
					 | 
				
			||||||
#include "private/rendering.h"
 | 
					#include "private/rendering.h"
 | 
				
			||||||
#include "textures.h"
 | 
					#include "textures.h"
 | 
				
			||||||
#include "input.h"
 | 
					#include "input.h"
 | 
				
			||||||
#include "game_api.h"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <SDL2/SDL.h>
 | 
					#include <SDL2/SDL.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,10 +15,8 @@
 | 
				
			|||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
#include <stdbool.h>
 | 
					#include <stdbool.h>
 | 
				
			||||||
#include <stdio.h>
 | 
					#include <stdio.h>
 | 
				
			||||||
#include <inttypes.h>
 | 
					 | 
				
			||||||
#include <tgmath.h>
 | 
					#include <tgmath.h>
 | 
				
			||||||
#include <limits.h>
 | 
					#include <limits.h>
 | 
				
			||||||
#include <math.h>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void poll_events(void) {
 | 
					static void poll_events(void) {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,5 @@
 | 
				
			|||||||
#include "private/rendering.h"
 | 
					#include "private/rendering.h"
 | 
				
			||||||
#include "context.h"
 | 
					#include "context.h"
 | 
				
			||||||
#include "config.h"
 | 
					 | 
				
			||||||
#include "textures.h"
 | 
					#include "textures.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <SDL2/SDL.h>
 | 
					#include <SDL2/SDL.h>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
#include "text.h"
 | 
					#include "text.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "SDL.h"
 | 
				
			||||||
#include "SDL_ttf.h"
 | 
					#include "SDL_ttf.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,9 +4,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "util.h"
 | 
					#include "util.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "SDL.h"
 | 
					 | 
				
			||||||
#include "SDL_ttf.h"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct text {
 | 
					struct text {
 | 
				
			||||||
    char *text;
 | 
					    char *text;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,7 +14,6 @@
 | 
				
			|||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
#include <stdarg.h>
 | 
					#include <stdarg.h>
 | 
				
			||||||
#include <stdnoreturn.h>
 | 
					#include <stdnoreturn.h>
 | 
				
			||||||
#include <limits.h>
 | 
					 | 
				
			||||||
#include <string.h>
 | 
					#include <string.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user