diff options
Diffstat (limited to '')
-rw-r--r-- | libft/src/ft_strcmp.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/libft/src/ft_strcmp.c b/libft/src/ft_strcmp.c index ca5cf60..4122ab2 100644 --- a/libft/src/ft_strcmp.c +++ b/libft/src/ft_strcmp.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_strcmp.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 13:55:24 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 13:56:42 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_strcmp.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:07:08 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:07:08 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> @@ -17,7 +16,7 @@ int ft_strcmp(const char *s1, const char *s2) { - size_t i; + size_t i; i = 0; while (s1[i] == s2[i] && i < ft_strlen(s1) - 1) |