From 5ef27d97f1dc36b4e9dd2420ba25166e370913d1 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 29 Sep 2020 19:54:12 +0200 Subject: End --- libft/src/ft_toupper.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libft/src/ft_toupper.c') 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); -- cgit v1.2.3