diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-29 19:29:59 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-29 19:29:59 +0200 |
commit | f92d78184cb8ff31648a623914f714baa27ee2e7 (patch) | |
tree | aa7aab141efe14fb9d15900d67f9e202c8c89b40 /libft/src/ft_printf_treat_flags.c | |
parent | in progress (diff) | |
download | 42-minishell-f92d78184cb8ff31648a623914f714baa27ee2e7.tar.gz 42-minishell-f92d78184cb8ff31648a623914f714baa27ee2e7.tar.bz2 42-minishell-f92d78184cb8ff31648a623914f714baa27ee2e7.tar.xz 42-minishell-f92d78184cb8ff31648a623914f714baa27ee2e7.tar.zst 42-minishell-f92d78184cb8ff31648a623914f714baa27ee2e7.zip |
Normized
Diffstat (limited to 'libft/src/ft_printf_treat_flags.c')
-rw-r--r-- | libft/src/ft_printf_treat_flags.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/libft/src/ft_printf_treat_flags.c b/libft/src/ft_printf_treat_flags.c index d7b11a1..783efa5 100644 --- a/libft/src/ft_printf_treat_flags.c +++ b/libft/src/ft_printf_treat_flags.c @@ -14,8 +14,7 @@ #include <stdlib.h> #include <stdarg.h> -static int - ft_printf_get_width(va_list arg, t_printflist *pflist) +static int ft_printf_get_width(va_list arg, t_printflist *pflist) { char *nstr; char *nstr_ptr; @@ -35,8 +34,7 @@ static int return (ret); } -static int - ft_printf_get_precision(va_list arg, int pos, t_printflist *pflist) +static int ft_printf_get_precision(va_list arg, int pos, t_printflist *pflist) { int ret; char *ptr; @@ -70,8 +68,7 @@ static int ** ll = 2 */ -static void - ft_printf_get_lh(t_printflist *pflist) +static void ft_printf_get_lh(t_printflist *pflist) { int pos; @@ -95,8 +92,7 @@ static void } } -static uint8_t - ft_printf_check_z(t_printflist *pflist) +static uint8_t ft_printf_check_z(t_printflist *pflist) { char *ptr; @@ -115,8 +111,7 @@ static uint8_t ** also l ll hh h */ -void - ft_printf_treat_flags(va_list arg, t_printflist *pflist) +void ft_printf_treat_flags(va_list arg, t_printflist *pflist) { int pos; char c; |