From 9a34427bdfcfb470178f106719a5a9696e96b2ab Mon Sep 17 00:00:00 2001 From: Kyllian Chabanon Date: Wed, 4 Jan 2023 16:01:21 +0100 Subject: [PATCH] Correction d'erreurs --- SAE.h | 4 ++-- testP1.c => TEST.c | 0 connexions.c | 4 ++-- global.c | 2 +- partie_3.c | 2 +- structures.c | 2 +- testpartie_3.c | 7 ------- 7 files changed, 7 insertions(+), 14 deletions(-) rename testP1.c => TEST.c (100%) mode change 100755 => 100644 delete mode 100755 testpartie_3.c diff --git a/SAE.h b/SAE.h index 78ad702..bed6c22 100755 --- a/SAE.h +++ b/SAE.h @@ -60,7 +60,7 @@ int modifNoteMinAdmis(); int modifNbAdmisMax(); // Authentification - +/* int ConnexionUtilisateur(char *login, char *mdp); ListeUtilisateurs chargerUtilisateurs(char *ficUtilisateurs, ListeUtilisateurs Utilisateurs); Utilisateur lireUtilisateur(FILE *flot); @@ -73,4 +73,4 @@ void sauveUtilisateurs(char *ficUtilisateurs, ListeUtilisateurs listeUtilisateur int rechercherUtilisateur(ListeUtilisateurs listeUtilisateurs, char *nomUtilisateur); int supprimerUtilisateur(ListeUtilisateurs listeUtilisateurs, char *nomUtilisateur); int menuUtilisateur(ListeUtilisateurs listeUtilisateurs); -void global(void); \ No newline at end of file +void global(void);*/ \ No newline at end of file diff --git a/testP1.c b/TEST.c old mode 100755 new mode 100644 similarity index 100% rename from testP1.c rename to TEST.c diff --git a/connexions.c b/connexions.c index 545b5c2..939747e 100644 --- a/connexions.c +++ b/connexions.c @@ -1,4 +1,4 @@ -#include "SAE.h" +/*#include "SAE.h" int ConnexionUtilisateur(void) { @@ -229,4 +229,4 @@ void global() menuUtilisateurs(Utilisateurs); } sauveUtilisateurs("utilisateurs.bin", Utilisateurs); -} \ No newline at end of file +}*/ \ No newline at end of file diff --git a/global.c b/global.c index 7129f87..5ba7d09 100755 --- a/global.c +++ b/global.c @@ -1,4 +1,4 @@ -#include "../SAE.h" +#include "SAE.h" void global(void) { diff --git a/partie_3.c b/partie_3.c index a23ca9c..9601a34 100755 --- a/partie_3.c +++ b/partie_3.c @@ -1,4 +1,4 @@ -#include "../SAE.h" +#include "SAE.h" Departement lireDpt(FILE *flot) { diff --git a/structures.c b/structures.c index bc19379..b42eea0 100755 --- a/structures.c +++ b/structures.c @@ -1,4 +1,4 @@ -#include "../SAE.h" +#include "SAE.h" FileAdmission filenouvListeDpt(void) { diff --git a/testpartie_3.c b/testpartie_3.c deleted file mode 100755 index cfb88be..0000000 --- a/testpartie_3.c +++ /dev/null @@ -1,7 +0,0 @@ -#include "../SAE.h" - -int main(void) -{ - global(); - return 0; -} \ No newline at end of file