From 6b5e8937d190639ce72c7e5dbee888f97f5f015e Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 2 Mar 2020 01:05:20 +0100 Subject: ok --- inc/cub3d.h | 2 +- src/ft_treat_args.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/cub3d.h b/inc/cub3d.h index 751d6b0..1f8abd4 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -114,7 +114,7 @@ uint8_t ft_use_args(int argc, const char *argv[], t_cub *clist); */ void ft_set_minimap_scale(t_cub *clist); -void *ft_music(void *vargp); +void *ft_music_thread(void *vargp); void ft_detect(t_cub *cl); void ft_castray(t_cub *cl); void ft_save_to_bmp(void); diff --git a/src/ft_treat_args.c b/src/ft_treat_args.c index cc1391a..3a7f217 100644 --- a/src/ft_treat_args.c +++ b/src/ft_treat_args.c @@ -41,7 +41,7 @@ uint8_t ft_draw_scene(clist); if (clist->mlist->ismusic) { - pthread_create(&tid, NULL, ft_music, clist); + pthread_create(&tid, NULL, ft_music_thread, clist); pthread_join(tid, NULL); } ft_hooks_and_loops(clist->wlist, clist); -- cgit v1.2.3