diff options
Diffstat (limited to 'libft/src/ft_toupper.c')
-rw-r--r-- | libft/src/ft_toupper.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libft/src/ft_toupper.c b/libft/src/ft_toupper.c index 864ef70..62365c5 100644 --- a/libft/src/ft_toupper.c +++ b/libft/src/ft_toupper.c @@ -10,16 +10,14 @@ /* */ /* ************************************************************************** */ -static int - ft_islower(int c) +static int ft_islower(int c) { if (c >= 97 && c <= 122) return (1); return (0); } -int - ft_toupper(int c) +int ft_toupper(int c) { if (ft_islower(c)) return (c - 32); |