diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-29 19:54:12 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-29 19:54:12 +0200 |
commit | 5ef27d97f1dc36b4e9dd2420ba25166e370913d1 (patch) | |
tree | 05fe79b148c750a30c3f0149e933cb3ebc211738 /libft/src/ft_tolower.c | |
parent | Update (diff) | |
download | 42-minishell-5ef27d97f1dc36b4e9dd2420ba25166e370913d1.tar.gz 42-minishell-5ef27d97f1dc36b4e9dd2420ba25166e370913d1.tar.bz2 42-minishell-5ef27d97f1dc36b4e9dd2420ba25166e370913d1.tar.xz 42-minishell-5ef27d97f1dc36b4e9dd2420ba25166e370913d1.tar.zst 42-minishell-5ef27d97f1dc36b4e9dd2420ba25166e370913d1.zip |
End
Diffstat (limited to 'libft/src/ft_tolower.c')
-rw-r--r-- | libft/src/ft_tolower.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libft/src/ft_tolower.c b/libft/src/ft_tolower.c index 1877dbb..91ed9ee 100644 --- a/libft/src/ft_tolower.c +++ b/libft/src/ft_tolower.c @@ -10,16 +10,14 @@ /* */ /* ************************************************************************** */ -static int - ft_isupper(int c) +static int ft_isupper(int c) { if (c >= 65 && c <= 90) return (1); return (0); } -int - ft_tolower(int c) +int ft_tolower(int c) { if (ft_isupper(c)) return (c + 32); |