remove unused includes

This commit is contained in:
veclav talica 2024-07-08 22:58:57 +03:00
parent 26a89dfe4f
commit 5738870147
6 changed files with 1 additions and 10 deletions

View File

@ -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>

View File

@ -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) {

View File

@ -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>

View File

@ -1,5 +1,5 @@
#include "text.h" #include "text.h"
#include "SDL.h"
#include "SDL_ttf.h" #include "SDL_ttf.h"

View File

@ -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;

View File

@ -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>