summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_dprintf.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-29 19:00:27 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-29 19:00:27 +0200
commit4e16203d49405cc0eb81d82693e8606e80d004fd (patch)
treef93958b7aa1add68c2e754b8445263a42b9471e9 /libft/src/ft_dprintf.c
parentSome updates (diff)
download42-minishell-4e16203d49405cc0eb81d82693e8606e80d004fd.tar.gz
42-minishell-4e16203d49405cc0eb81d82693e8606e80d004fd.tar.bz2
42-minishell-4e16203d49405cc0eb81d82693e8606e80d004fd.tar.xz
42-minishell-4e16203d49405cc0eb81d82693e8606e80d004fd.tar.zst
42-minishell-4e16203d49405cc0eb81d82693e8606e80d004fd.zip
Some norm
Diffstat (limited to '')
-rw-r--r--libft/src/ft_dprintf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libft/src/ft_dprintf.c b/libft/src/ft_dprintf.c
index caa28dc..57a1344 100644
--- a/libft/src/ft_dprintf.c
+++ b/libft/src/ft_dprintf.c
@@ -16,8 +16,7 @@
#include <stdarg.h>
#include <unistd.h>
-static int
- ft_printf_return(int fd, t_printflist *pflist)
+static int ft_printf_return(int fd, t_printflist *pflist)
{
int ret;
@@ -28,8 +27,7 @@ static int
return (ret);
}
-int
- ft_dprintf(int fd, const char *format, ...)
+int ft_dprintf(int fd, const char *format, ...)
{
t_printflist *pflist;
va_list arg;