aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_music.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_music.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ft_music.c b/src/ft_music.c
index b9e9d89..70bb1a1 100644
--- a/src/ft_music.c
+++ b/src/ft_music.c
@@ -12,17 +12,19 @@
#include <libft.h>
#include <cub3d.h>
-#include <stddef.h>
#include <stdlib.h>
+#include <unistd.h>
+
void
- ft_music_fork(t_cub *cl)
+ ft_music_fork(char *music_cmd)
{
- cl->isoldmus = 1;
+ (void)music_cmd;
while (1)
{
ft_printf("qweqwe\n");
+ sleep(1);
}
- /* system(cl->mlist.music_cmd); */
/* execve here */
+ /* system(cl->mlist.music_cmd); */
}