From cfaf9947227065ce40661544dff9b3554ff5aca2 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 17 Aug 2020 17:22:24 +0200 Subject: Set libft/ft_is* to type t_bool --- libft/src/ft_isspace.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libft/src/ft_isspace.c') diff --git a/libft/src/ft_isspace.c b/libft/src/ft_isspace.c index 188e94a..b9b653f 100644 --- a/libft/src/ft_isspace.c +++ b/libft/src/ft_isspace.c @@ -10,9 +10,10 @@ /* */ /* ************************************************************************** */ +#include #include -uint8_t +t_bool ft_isspace(int c) { if (c == '\t' || @@ -21,6 +22,6 @@ uint8_t c == '\f' || c == '\r' || c == ' ') - return (1); - return (0); + return (TRUE); + return (FALSE); } -- cgit v1.2.3