From 0e55e163397f2b109321ad284d298e60ee3b97a7 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 24 Jan 2020 18:52:32 +0100 Subject: cleaner frees --- inc/cub3d.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'inc/cub3d.h') diff --git a/inc/cub3d.h b/inc/cub3d.h index e837a34..49f77ec 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -48,7 +48,10 @@ void ft_drawsquare(t_win *wlist, int a, int b); int ft_get_res(int fd, t_win *wlist); int ft_get_tex(int fd, t_win *wlist); int ft_get_sprite_tex(int fd, t_win *wlist); -void ft_free_words(char **words); +void ft_check_empty_line(int fd, + unsigned int linum, + t_win *wlist); +void ft_free_words(char **words, char *line); int ft_map_error(unsigned int linum, t_win *wlist); int ft_init_winlx(t_win *wlist); -- cgit v1.2.3