diff --git a/libft/includes/libft.h b/libft/includes/libft.h index e4338d1d..b16823a8 100644 --- a/libft/includes/libft.h +++ b/libft/includes/libft.h @@ -105,7 +105,6 @@ char *ft_convert_base( char *str, char *base_from, char *base_to, char *flags); char *ft_strcatf(char *s1, const char *s2); char *ft_strinsert(char *str, char c, int n); -void ft_strsqueeze(char *str, int n); char *ft_itoa_base(int nbr, char *base, char *flags); char *ft_lltoa_base(long long nbr, char *base, char *flags); diff --git a/libft/src/str/ft_strsqueeze.c b/libft/src/str/ft_strsqueeze.c deleted file mode 100644 index f94d800c..00000000 --- a/libft/src/str/ft_strsqueeze.c +++ /dev/null @@ -1,11 +0,0 @@ -#include "libft.h" - -void ft_strsqueeze(char *str, int n) -{ - int i; - - i = 0; - while (str[i] && i < n) - i++; - ft_strcpy(str, str + 1); -}