summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_printf_parts.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_parts.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_parts.c')
-rw-r--r--libft/src/ft_printf_parts.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/libft/src/ft_printf_parts.c b/libft/src/ft_printf_parts.c
index f29d680..ce5057a 100644
--- a/libft/src/ft_printf_parts.c
+++ b/libft/src/ft_printf_parts.c
@@ -14,8 +14,7 @@
#include <stddef.h>
#include <stdlib.h>
-int
- ft_printf_get_partlen(const char *format)
+int ft_printf_get_partlen(const char *format)
{
int ret;
@@ -26,11 +25,10 @@ int
return (ret);
}
-int
- ft_printf_putpart(const char *format,
- int start,
- int len,
- t_printflist *pflist)
+int ft_printf_putpart(const char *format,
+ int start,
+ int len,
+ t_printflist *pflist)
{
char *nstr;
int ret;