summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_strrchr.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libft/src/ft_strrchr.c4
1 files changed, 1 insertions, 3 deletions
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 <libft.h>
#include <stddef.h>
char
@@ -19,8 +19,6 @@ char
{
size_t i;
- if (!s)
- return (NULL);
i = ft_strlen(s);
while (s[i] != c)
{