diff --git a/Makefile b/Makefile index 636893d..fa8085a 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # By: adjoly +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2023/11/01 11:03:22 by adjoly #+# #+# # -# Updated: 2023/11/11 11:49:54 by adjoly ### ########.fr # +# Updated: 2023/11/11 15:10:24 by adjoly ### ########.fr # # # # **************************************************************************** # @@ -47,10 +47,11 @@ SRCS = ft_atoi.c \ ft_strtrim.c \ ft_split.c \ ft_strmapi.c \ + ft_striteri.c \ OBJS = $(SRCS:.c=.o) -FLAGS = -g -Werror -Wall -Wextra +FLAGS = -Werror -Wall -Wextra HEADER = libft.h diff --git a/libft.h b/libft.h index dbd0ef7..37289a5 100644 --- a/libft.h +++ b/libft.h @@ -6,7 +6,7 @@ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/11/01 10:06:03 by adjoly #+# #+# */ -/* Updated: 2023/11/11 11:49:37 by adjoly ### ########.fr */ +/* Updated: 2023/11/11 14:22:48 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ @@ -52,5 +52,6 @@ void ft_putendl_fd(char *s, int fd); char *ft_strtrim(char const *s1, char const *set); char **ft_split(char const *s, char c); char *ft_strmapi(char const *s, char (*f)(unsigned int, char)); +void ft_striteri(char *s, void (*f)(unsigned int, char *)); #endif \ No newline at end of file diff --git a/libft.h.gch b/libft.h.gch deleted file mode 100644 index f37977e..0000000 Binary files a/libft.h.gch and /dev/null differ