summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_printf_put_hex.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-29 19:22:13 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-29 19:22:13 +0200
commitba180eb2011a5c50e65aca3b81386fd3108fc20d (patch)
tree2f631d06deadfb2ffa3d0404ef36e36e1b76d018 /libft/src/ft_printf_put_hex.c
parentlibft norm in progress (diff)
download42-minishell-ba180eb2011a5c50e65aca3b81386fd3108fc20d.tar.gz
42-minishell-ba180eb2011a5c50e65aca3b81386fd3108fc20d.tar.bz2
42-minishell-ba180eb2011a5c50e65aca3b81386fd3108fc20d.tar.xz
42-minishell-ba180eb2011a5c50e65aca3b81386fd3108fc20d.tar.zst
42-minishell-ba180eb2011a5c50e65aca3b81386fd3108fc20d.zip
Again
Diffstat (limited to 'libft/src/ft_printf_put_hex.c')
-rw-r--r--libft/src/ft_printf_put_hex.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/libft/src/ft_printf_put_hex.c b/libft/src/ft_printf_put_hex.c
index 68126a4..546c4fa 100644
--- a/libft/src/ft_printf_put_hex.c
+++ b/libft/src/ft_printf_put_hex.c
@@ -16,8 +16,7 @@
#include <stdarg.h>
#include <inttypes.h>
-static unsigned long
- ft_printf_get_xlh(va_list arg, int8_t lh, uint8_t zflag)
+static unsigned long ft_printf_get_xlh(va_list arg, int8_t lh, uint8_t zflag)
{
if (zflag == 1)
return (va_arg(arg, size_t));
@@ -34,8 +33,7 @@ static unsigned long
return (va_arg(arg, unsigned int));
}
-void
- ft_printf_put_x(va_list arg, t_printflist *pflist)
+void ft_printf_put_x(va_list arg, t_printflist *pflist)
{
unsigned long x;
char *str;
@@ -59,8 +57,7 @@ void
ft_printf_put_width_post(pflist);
}
-void
- ft_printf_put_big_x(va_list arg, t_printflist *pflist)
+void ft_printf_put_big_x(va_list arg, t_printflist *pflist)
{
unsigned long x;
char *str;