no more warning

Signed-off-by: Mathéo Hersan <matheohersan@MacBook-Pro-de-Matheo.local>
pull/13/head^2
Mathéo Hersan 1 year ago
parent f6695410d2
commit ba4385588c
No known key found for this signature in database
GPG Key ID: 4EF19C64D78EC91B

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

@ -1,3 +0,0 @@
{
"C_Cpp.errorSquiggles": "disabled"
}

BIN
app

Binary file not shown.

@ -2,7 +2,7 @@
#define MAX_ARTICLES 100 #define MAX_ARTICLES 100
#define MAX_CLIENTS 100 #define MAX_CLIENTS 100
void affiche_client() { void affiche_client(void) {
printf("\n"); printf("\n");
printf("+-------------+\n"); printf("+-------------+\n");
printf("|| Bonjour ! ||\n"); printf("|| Bonjour ! ||\n");
@ -420,7 +420,7 @@ void menu_client(int *choix) {
} }
} }
void global_client() { void global_client(void) {
int choix, references[MAX_ARTICLES], numeros[MAX_CLIENTS], suspendus[MAX_CLIENTS], nombreArticles, int choix, references[MAX_ARTICLES], numeros[MAX_CLIENTS], suspendus[MAX_CLIENTS], nombreArticles,
nombreClients, numeroClient, quantites[MAX_ARTICLES], panier[MAX_ARTICLES], taillePanier = 0; nombreClients, numeroClient, quantites[MAX_ARTICLES], panier[MAX_ARTICLES], taillePanier = 0;

@ -20,7 +20,7 @@
/** /**
* @brief Afficher les informations du client. * @brief Afficher les informations du client.
*/ */
void affiche_client(); void affiche_client(void);
/** /**
* @brief Afficher le menu du client et enregistrer le choix de l'utilisateur. * @brief Afficher le menu du client et enregistrer le choix de l'utilisateur.
@ -169,6 +169,6 @@ void quitter_application(int panier[], int taillePanier, int references[], float
/** /**
* @brief Exécute l'ensemble des fonctions de l'interface client. * @brief Exécute l'ensemble des fonctions de l'interface client.
*/ */
void global_client(); void global_client(void);
#endif // INTERFACE_CLIENT_H #endif // INTERFACE_CLIENT_H

Loading…
Cancel
Save