/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* check_death.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/07/24 23:03:08 by adjoly #+# #+# */ /* Updated: 2024/07/24 23:05:15 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ #include "philo.h" bool get_death(bool in, bool ret) { static bool death; if (ret == false) death = in; return (death); }