1
0
mirror of https://gitlab.com/klmp200/LO41.git synced 2025-07-11 20:29:24 +00:00

GCC YOU FAGGOT !

This commit is contained in:
2018-06-11 02:01:56 +02:00
parent fd2463904a
commit ab0e742cd4
3 changed files with 7 additions and 7 deletions

View File

@ -11,7 +11,7 @@ GETTER(Resident, int, apartment_floor);
void * runnable_Resident(void * void_this){
Resident * this = (Resident*) void_this;
printf("Je suis le resident %s et je suis a l'etage %d en direction de l'etage %d\n",
printf("Je suis le RESIDENT %s et je suis a l'etage %d en direction de l'etage %d\n",
this->name, this->apartment_floor, this->destination);
return NULL;
}
@ -23,7 +23,7 @@ void _free__Resident(THIS(Resident)){
}
Resident *_init_Resident(int id, char* name, int apartment_floor, int destination){
/* If the destination is the same as the apartment_floor or negative, the resident will not move */
/* If the destination is the same as the apartment_floor or negative, the RESIDENT will not move */
Resident * new_resident = malloc_or_die(sizeof(Resident));
new_resident->name = strdup(name);
new_resident->id = id;