remove recurssive function + commented main
This commit is contained in:
10
ft_strrchr.c
10
ft_strrchr.c
@@ -6,7 +6,7 @@
|
||||
/* By: dgaillet <dgaillet@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/11/05 17:28:39 by dgaillet #+# #+# */
|
||||
/* Updated: 2025/11/06 12:39:21 by dgaillet ### ########lyon.fr */
|
||||
/* Updated: 2025/11/11 13:47:40 by dgaillet ### ########lyon.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -27,11 +27,3 @@ char *ft_strrchr(const char *s, int c)
|
||||
}
|
||||
return (NULL);
|
||||
}
|
||||
/*
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
printf("%s\n", ft_strrchr("bonjour", 'b'));
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user