diff --git a/src/tasks.c b/src/tasks.c index e88d733..2fe69a2 100644 --- a/src/tasks.c +++ b/src/tasks.c @@ -3,13 +3,12 @@ #include #include #include +#include #include "sha1.h" #include "lookup_list.h" #define MAX_TASKS 5 -typedef enum {false, true} bool; - typedef struct TASKS_str_linked_list{ char *data; struct TASKS_str_linked_list *next; @@ -289,9 +288,9 @@ void TASKS_do_tasks_ifchange(char *filename){ perror(cmd); if(r_code != EXIT_SUCCESS) - printf("[✗] FAILED COMMAND : %s\n[✗] C system() function return value : %d\n", cmd, r_code); + printf("[✗] FAILED COMMAND : %s ; C system() function return value : %d\n", cmd, r_code); else - printf("[✔] COMPLETED COMMAND : %s\n[✔] C system() function return value : %d\n", cmd, r_code); + printf("[✔] COMPLETED COMMAND : %s ; C system() function return value : %d\n", cmd, r_code); cll = cll->next; } printf("\n");