summaryrefslogtreecommitdiffstats
path: root/libft
diff options
context:
space:
mode:
Diffstat (limited to 'libft')
-rw-r--r--libft/Makefile1
-rw-r--r--libft/src/ft_itoa.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/libft/Makefile b/libft/Makefile
index 83c4b54..1b41ad7 100644
--- a/libft/Makefile
+++ b/libft/Makefile
@@ -86,6 +86,7 @@ NAME = libft.a
MKDIR = mkdir -p
RM = rm -rf
+
${OBJS_DIR}%.o: ${SRCS_DIR}%.c ${INCS_DIR}${INCS}
@if [ ! -a ${OBJS_DIR} ]; then \
${MKDIR} ${OBJS_DIR}; \
diff --git a/libft/src/ft_itoa.c b/libft/src/ft_itoa.c
index bf3c0c8..98f33f2 100644
--- a/libft/src/ft_itoa.c
+++ b/libft/src/ft_itoa.c
@@ -16,7 +16,7 @@
#include <stdlib.h>
static uint8_t
- ft_intlen(int n)
+ ft_intllen(int n)
{
uint8_t len;
@@ -40,7 +40,7 @@ char
unsigned int nb;
uint8_t i;
- i = ft_intlen(n) - 1;
+ i = ft_intllen(n) - 1;
if (!(s = (char*)malloc((i + 2) * sizeof(char))))
return (NULL);
if (!n)