42_minishell/data/data.c

22 lines
1008 B
C
Raw Normal View History

2023-03-28 09:55:08 -04:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* data.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/27 13:42:09 by cchauvet #+# #+# */
/* Updated: 2023/03/27 13:42:58 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
#include "./data_private.h"
2023-03-22 09:29:32 -04:00
#include "data.h"
2023-03-28 09:55:08 -04:00
t_data *ft_get_data(void)
{
2023-03-22 09:29:32 -04:00
static t_data data;
2023-03-22 09:29:32 -04:00
return (&data);
}