aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--inc/cub3d.h2
-rw-r--r--src/ft_treat_args.c2
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);