From fc29371a10bf6cfd93c4e9ccfe9193c1311efc98 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 27 Dec 2019 17:24:35 +0100 Subject: updated libft, better Makefile and .gitignore --- libft/src/ft_putstr_fd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libft/src/ft_putstr_fd.c') diff --git a/libft/src/ft_putstr_fd.c b/libft/src/ft_putstr_fd.c index b90c078..068d959 100644 --- a/libft/src/ft_putstr_fd.c +++ b/libft/src/ft_putstr_fd.c @@ -11,11 +11,11 @@ /* / */ /* ************************************************************************** */ -#include "libft.h" +#include #include -void +int ft_putstr_fd(char *s, int fd) { - write(fd, s, ft_strlen(s)); + return (write(fd, s, ft_strlen(s))); } -- cgit v1.2.3