From fc29371a10bf6cfd93c4e9ccfe9193c1311efc98 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 27 Dec 2019 17:24:35 +0100 Subject: updated libft, better Makefile and .gitignore --- libft/src/ft_strrchr.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libft/src/ft_strrchr.c') diff --git a/libft/src/ft_strrchr.c b/libft/src/ft_strrchr.c index 47ba95b..ada7470 100644 --- a/libft/src/ft_strrchr.c +++ b/libft/src/ft_strrchr.c @@ -11,7 +11,7 @@ /* / */ /* ************************************************************************** */ -#include "libft.h" +#include #include char @@ -19,8 +19,6 @@ char { size_t i; - if (!s) - return (NULL); i = ft_strlen(s); while (s[i] != c) { -- cgit v1.2.3