summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_sprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_sprintf.c')
-rw-r--r--libft/src/ft_sprintf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libft/src/ft_sprintf.c b/libft/src/ft_sprintf.c
index 8413505..4b7049a 100644
--- a/libft/src/ft_sprintf.c
+++ b/libft/src/ft_sprintf.c
@@ -16,8 +16,7 @@
#include <stdarg.h>
#include <unistd.h>
-static int
- ft_printf_return(char *str, t_printflist *pflist)
+static int ft_printf_return(char *str, t_printflist *pflist)
{
int ret;
@@ -29,8 +28,7 @@ static int
return (ret);
}
-int
- ft_sprintf(char *str, const char *format, ...)
+int ft_sprintf(char *str, const char *format, ...)
{
t_printflist *pflist;
va_list arg;