ft_memset, ft_isalpha: add static to subfuntions

This commit is contained in:
Tanguy MAZE
2018-04-05 16:40:29 +02:00
parent c4402c4b2d
commit ca233d4b2f
4 changed files with 31 additions and 7 deletions

View File

@@ -6,23 +6,23 @@
/* By: tmaze <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/04/04 10:56:47 by tmaze #+# #+# */
/* Updated: 2018/04/04 11:23:21 by tmaze ### ########.fr */
/* Updated: 2018/04/05 15:32:34 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isupper(int c)
static int ft_isupper(int c)
{
return (c >= 'A' && c <= 'Z');
}
int ft_islower(int c)
static int ft_islower(int c)
{
return (c >= 'a' && c <= 'z');
}
int ft_isalpha(int c)
int ft_isalpha(int c)
{
return (ft_islower(c) || ft_isupper(c));
}