From 9a915b797a80c2a776027b1fcc37f1e7b8ab1b24 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 29 Sep 2020 19:50:20 +0200 Subject: Update --- libft/src/ft_strlchr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libft/src/ft_strlchr.c') diff --git a/libft/src/ft_strlchr.c b/libft/src/ft_strlchr.c index 228aa89..cfbd9b5 100644 --- a/libft/src/ft_strlchr.c +++ b/libft/src/ft_strlchr.c @@ -13,8 +13,7 @@ #include #include -long - ft_strlchr(const char *s, int c) +long ft_strlchr(const char *s, int c) { const size_t len = ft_strlen(s); const size_t rem = ft_strlen(ft_strchr(s, c)); -- cgit v1.2.3