diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-29 19:00:27 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-29 19:00:27 +0200 |
commit | 4e16203d49405cc0eb81d82693e8606e80d004fd (patch) | |
tree | f93958b7aa1add68c2e754b8445263a42b9471e9 /libft/src/ft_isdigit.c | |
parent | Some updates (diff) | |
download | 42-minishell-4e16203d49405cc0eb81d82693e8606e80d004fd.tar.gz 42-minishell-4e16203d49405cc0eb81d82693e8606e80d004fd.tar.bz2 42-minishell-4e16203d49405cc0eb81d82693e8606e80d004fd.tar.xz 42-minishell-4e16203d49405cc0eb81d82693e8606e80d004fd.tar.zst 42-minishell-4e16203d49405cc0eb81d82693e8606e80d004fd.zip |
Some norm
Diffstat (limited to '')
-rw-r--r-- | libft/src/ft_isdigit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libft/src/ft_isdigit.c b/libft/src/ft_isdigit.c index 3c73f92..92c93e4 100644 --- a/libft/src/ft_isdigit.c +++ b/libft/src/ft_isdigit.c @@ -12,10 +12,11 @@ #include <libft.h> -t_bool - ft_isdigit(int c) +t_bool ft_isdigit(int c) { if (c >= 48 && c <= 57) + { return (TRUE); + } return (FALSE); } |