summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_printf_put_precision.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_printf_put_precision.c')
-rw-r--r--libft/src/ft_printf_put_precision.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libft/src/ft_printf_put_precision.c b/libft/src/ft_printf_put_precision.c
index af7f7b7..3bc9883 100644
--- a/libft/src/ft_printf_put_precision.c
+++ b/libft/src/ft_printf_put_precision.c
@@ -13,8 +13,7 @@
#include <libft.h>
#include <stdlib.h>
-static int
- ft_printf_get_len(t_printflist *pflist)
+static int ft_printf_get_len(t_printflist *pflist)
{
if (pflist->conv == 'p' && pflist->precision > pflist->putlen)
return (pflist->precision - pflist->putlen + 2);
@@ -45,8 +44,7 @@ static int
** Used for %p, %d, %i, %u, %x and %X
*/
-int
- ft_printf_put_precision(t_printflist *pflist)
+int ft_printf_put_precision(t_printflist *pflist)
{
char *str;
int len;