From f723389e5143c9ee0bc3d9774bb523b1c752b74c Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 8 Oct 2019 18:33:20 +0200 Subject: Fix ft_memmove and calloc - memmove doesnt depend on a buffer size - calloc return NULL if count or size == 0 - added byte type --- libft.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libft.h') diff --git a/libft.h b/libft.h index 84cc8c1..6e1eb07 100644 --- a/libft.h +++ b/libft.h @@ -18,6 +18,8 @@ # define TRUE 1 # define FALSE 0 +typedef unsigned char t_byte; + typedef struct s_list { void *content; -- cgit