aboutsummaryrefslogtreecommitdiff
path: root/common/common.h
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-09-30 08:46:00 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-09-30 08:46:00 +0200
commit608ae732eccfe50f2727823f9aebe1f32681edfb (patch)
tree01d62708d1c4b0aa444e272c7f19022b5cd70821 /common/common.h
parent42360f381cebd6376c261b16038a7f12971f925e (diff)
downloadphilosophers-608ae732eccfe50f2727823f9aebe1f32681edfb.tar.gz
philosophers-608ae732eccfe50f2727823f9aebe1f32681edfb.tar.bz2
philosophers-608ae732eccfe50f2727823f9aebe1f32681edfb.zip
Refactoring philo_two to work with new common lib (not working)
Diffstat (limited to 'common/common.h')
-rw-r--r--common/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/common.h b/common/common.h
index b6f21c2..0b64e92 100644
--- a/common/common.h
+++ b/common/common.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/08 22:58:35 by cacharle #+# #+# */
-/* Updated: 2020/09/30 07:57:32 by cacharle ### ########.fr */
+/* Updated: 2020/09/30 08:40:38 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -40,7 +40,7 @@ typedef struct
long int meal_num;
} t_philo_args;
-typedef void (*t_routine)(void *arg);
+typedef void *(*t_routine)(void *arg);
/*
** common.c