From 7aab8f34e8a238ce0688bf9f7e7f0b731902580f Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sat, 2 Jan 2021 12:08:59 +0100 Subject: Updated philo_two with philo_three logic, Norming philo_two and philo_three --- common/common.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'common/common.h') diff --git a/common/common.h b/common/common.h index 2415e73..30a00a2 100644 --- a/common/common.h +++ b/common/common.h @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/08 22:58:35 by cacharle #+# #+# */ -/* Updated: 2020/10/05 14:30:07 by cacharle ### ########.fr */ +/* Updated: 2021/01/02 11:01:23 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -54,12 +54,13 @@ bool parse_args(t_philo_args *args, int argc, char **argv); long int h_atou_strict(char *s); t_time h_time_now(void); +int h_err(int ret, const char *format, char *str); /* ** io.c */ +void philo_put_set_initial_time(void); void philo_put(size_t id, t_philo_event event); -int h_err(int ret, const char *format, char *str); #endif -- cgit