From: Dominik Kaiser Date: Tue, 28 Jan 2025 12:08:25 +0000 (+0100) Subject: Fix norme X-Git-Url: https://git.dkaiser.de/?a=commitdiff_plain;h=8ba41264ba8a6a37680df5eb94459dd4b8e1276c;p=42%2FPhilosophers.git Fix norme --- diff --git a/philo/include/philo.h b/philo/include/philo.h index 390cadd..df1b451 100644 --- a/philo/include/philo.h +++ b/philo/include/philo.h @@ -6,7 +6,7 @@ /* By: dkaiser # include # include -# include # include +# include # define ERR_USAGE "Usage: [times_must_eat]" # define ERR_MALLOC "Memory allocation failed" @@ -59,21 +59,21 @@ void philo_eat(t_philo *philo); /* ** Prints error message and returns EXIT_FAILURE */ -int ft_err(const char *str); +int ft_err(const char *str); /* ** Returns integer value from str */ -int ft_atoi(const char *str); +int ft_atoi(const char *str); /* ** Returns current time in milliseconds */ -int ft_cur_time_in_ms(void); +int ft_cur_time_in_ms(void); /* ** Prints "timestamp_in_ms id str" */ -void ft_log(int id, const char *str); +void ft_log(int id, const char *str); #endif