aboutsummaryrefslogtreecommitdiff
path: root/philo/include
diff options
context:
space:
mode:
authorDominik Kaiser2025-01-28 13:08:25 +0100
committerDominik Kaiser2025-01-28 13:08:51 +0100
commit8ba41264ba8a6a37680df5eb94459dd4b8e1276c (patch)
tree038dd29deb5ed557de3ec215b7762490e329506d /philo/include
parent4d1f3f9325c706ef0b4eb1e78957f886abf28e8b (diff)
downloadPhilosophers-8ba41264ba8a6a37680df5eb94459dd4b8e1276c.tar.gz
Philosophers-8ba41264ba8a6a37680df5eb94459dd4b8e1276c.zip
Fix norme
Diffstat (limited to 'philo/include')
-rw-r--r--philo/include/philo.h12
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