From 11a77f533133037cf3cc07742009a7baccdf8840 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 18 Nov 2022 16:53:54 +0100 Subject: [PATCH] remove useless include --- includes/humain.h | 1 - includes/joueur.h | 2 -- src/jeu.c | 1 - src/plateau.c | 1 - 4 files changed, 5 deletions(-) diff --git a/includes/humain.h b/includes/humain.h index b3dea79..6737ed8 100644 --- a/includes/humain.h +++ b/includes/humain.h @@ -1,7 +1,6 @@ #ifndef OTHELLO_HUMAN_H #define OTHELLO_HUMAN_H 1 -#include "jeu.h" #include "joueur.h" typedef struct jeu Jeu; diff --git a/includes/joueur.h b/includes/joueur.h index 1478757..21f528f 100644 --- a/includes/joueur.h +++ b/includes/joueur.h @@ -1,8 +1,6 @@ #ifndef OTHELLO_JOUEUR_H #define OTHELLO_JOUEUR_H 1 -#include "jeu.h" -#include "liste.h" #include "plateau.h" typedef struct jeu Jeu; diff --git a/src/jeu.c b/src/jeu.c index db3c688..aa2f072 100644 --- a/src/jeu.c +++ b/src/jeu.c @@ -1,5 +1,4 @@ #include "../includes/humain.h" -#include "../includes/joueur.h" Jeton *ajoute_jeton(int pos_i, int pos_j, int couleur) { Jeton *jeton = malloc(sizeof(Jeton)); diff --git a/src/plateau.c b/src/plateau.c index ff1ef1d..6888b88 100644 --- a/src/plateau.c +++ b/src/plateau.c @@ -1,4 +1,3 @@ -#include "../includes/plateau.h" #include "../includes/joueur.h" void remplissage_debut(Jeu *jeu) {