diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 20:27:21 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 20:27:21 +0100 |
commit | 2b741aba7ac9f3cd1488f86dd5e1fe11d579eb9a (patch) | |
tree | 55c5f819bcb1a6721cd597627d4acc1bcf7a8088 /libft/src/ft_printf_treat_flags.c | |
parent | Few norm (diff) | |
download | 42-minishell-2b741aba7ac9f3cd1488f86dd5e1fe11d579eb9a.tar.gz 42-minishell-2b741aba7ac9f3cd1488f86dd5e1fe11d579eb9a.tar.bz2 42-minishell-2b741aba7ac9f3cd1488f86dd5e1fe11d579eb9a.tar.xz 42-minishell-2b741aba7ac9f3cd1488f86dd5e1fe11d579eb9a.tar.zst 42-minishell-2b741aba7ac9f3cd1488f86dd5e1fe11d579eb9a.zip |
Norming libft
Diffstat (limited to 'libft/src/ft_printf_treat_flags.c')
-rw-r--r-- | libft/src/ft_printf_treat_flags.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libft/src/ft_printf_treat_flags.c b/libft/src/ft_printf_treat_flags.c index abebc0d..187f584 100644 --- a/libft/src/ft_printf_treat_flags.c +++ b/libft/src/ft_printf_treat_flags.c @@ -14,7 +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; @@ -34,9 +34,9 @@ static int ft_printf_get_width(va_list arg, t_printflist *pflist) 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,7 +70,7 @@ static int ft_printf_get_precision(va_list arg, ** ll = 2 */ -static void ft_printf_get_lh(t_printflist *pflist) +static void ft_printf_get_lh(t_printflist *pflist) { int pos; @@ -113,7 +113,7 @@ static unsigned char ft_printf_check_z(t_printflist *pflist) ** 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; |