diff options
Diffstat (limited to 'philo/include/ft_utils.h')
| -rw-r--r-- | philo/include/ft_utils.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/philo/include/ft_utils.h b/philo/include/ft_utils.h index fb0455e..2299cd9 100644 --- a/philo/include/ft_utils.h +++ b/philo/include/ft_utils.h @@ -6,34 +6,34 @@ /* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/01/17 11:57:44 by dkaiser #+# #+# */ -/* Updated: 2025/01/18 13:04:16 by dkaiser ### ########.fr */ +/* Updated: 2025/01/21 12:04:07 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef FT_UTILS_H # define FT_UTILS_H -# include <stdlib.h> # include <stdio.h> +# include <stdlib.h> # include <sys/time.h> /* ** 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(); +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 |
