libft.a: add s_list structure for bonus
This commit is contained in:
parent
eeac617b02
commit
2f2623c7bb
1 changed files with 7 additions and 1 deletions
8
libft.h
8
libft.h
|
|
@ -6,7 +6,7 @@
|
|||
/* By: kcolin <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/10/15 10:11:54 by kcolin #+# #+# */
|
||||
/* Updated: 2024/10/18 15:20:07 by kcolin ### ########.fr */
|
||||
/* Updated: 2024/10/21 11:10:52 by kcolin ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -63,4 +63,10 @@ void ft_putendl_fd(char *s, int fd);
|
|||
|
||||
void ft_putnbr_fd(int n, int fd);
|
||||
|
||||
typedef struct s_list
|
||||
{
|
||||
void *content;
|
||||
struct s_list *next;
|
||||
} t_list;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue