diff options
| author | Dominik Kaiser | 2025-01-28 13:08:25 +0100 |
|---|---|---|
| committer | Dominik Kaiser | 2025-01-28 13:08:51 +0100 |
| commit | 8ba41264ba8a6a37680df5eb94459dd4b8e1276c (patch) | |
| tree | 038dd29deb5ed557de3ec215b7762490e329506d /philo/include/philo.h | |
| parent | 4d1f3f9325c706ef0b4eb1e78957f886abf28e8b (diff) | |
| download | Philosophers-8ba41264ba8a6a37680df5eb94459dd4b8e1276c.tar.gz Philosophers-8ba41264ba8a6a37680df5eb94459dd4b8e1276c.zip | |
Fix norme
Diffstat (limited to 'philo/include/philo.h')
| -rw-r--r-- | philo/include/philo.h | 12 |
1 files changed, 6 insertions, 6 deletions
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 <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/01/17 10:23:19 by dkaiser #+# #+# */ -/* Updated: 2025/01/28 13:06:11 by dkaiser ### ########.fr */ +/* Updated: 2025/01/28 13:07:28 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ @@ -16,8 +16,8 @@ # include <pthread.h> # include <stdio.h> # include <stdlib.h> -# include <unistd.h> # include <sys/time.h> +# include <unistd.h> # define ERR_USAGE "Usage: <nbr_of_philos> <ttd> <tte> <tts> [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 |
