diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-17 17:22:24 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-17 17:22:24 +0200 |
commit | cfaf9947227065ce40661544dff9b3554ff5aca2 (patch) | |
tree | e0d5da338e8df09c71c47405f5558cb67aac1cf8 /libft/src/ft_isalnum.c | |
parent | Updated TODO list (diff) | |
download | 42-minishell-cfaf9947227065ce40661544dff9b3554ff5aca2.tar.gz 42-minishell-cfaf9947227065ce40661544dff9b3554ff5aca2.tar.bz2 42-minishell-cfaf9947227065ce40661544dff9b3554ff5aca2.tar.xz 42-minishell-cfaf9947227065ce40661544dff9b3554ff5aca2.tar.zst 42-minishell-cfaf9947227065ce40661544dff9b3554ff5aca2.zip |
Set libft/ft_is* to type t_bool
Diffstat (limited to '')
-rw-r--r-- | libft/src/ft_isalnum.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libft/src/ft_isalnum.c b/libft/src/ft_isalnum.c index e764ac6..fca042d 100644 --- a/libft/src/ft_isalnum.c +++ b/libft/src/ft_isalnum.c @@ -12,10 +12,10 @@ #include <libft.h> -int +t_bool ft_isalnum(int c) { if (ft_isalpha(c) || ft_isdigit(c)) - return (1); - return (0); + return (TRUE); + return (FALSE); } |