summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_putchar_fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_putchar_fd.c')
-rw-r--r--libft/src/ft_putchar_fd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libft/src/ft_putchar_fd.c b/libft/src/ft_putchar_fd.c
index 7e32ea7..cb812eb 100644
--- a/libft/src/ft_putchar_fd.c
+++ b/libft/src/ft_putchar_fd.c
@@ -12,8 +12,7 @@
#include <unistd.h>
-int
- ft_putchar_fd(char c, int fd)
+int ft_putchar_fd(char c, int fd)
{
return (write(fd, &c, 1));
}