diff --git a/ft_strclr.c b/ft_strclr.c index 6209a1f..d144946 100644 --- a/ft_strclr.c +++ b/ft_strclr.c @@ -6,17 +6,17 @@ /* By: tmaze +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2018/04/06 23:27:33 by tmaze #+# #+# */ -/* Updated: 2018/04/06 23:34:44 by tmaze ### ########.fr */ +/* Updated: 2018/04/07 11:16:10 by tmaze ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" -void strclr(char *s) +void ft_strclr(char *s) { - int i; + int i; - i = 0; - while (s[i]) - s[i++] = '\0'; + i = 0; + while (s[i]) + s[i++] = '\0'; }