From 6a5784a91c09c127c3914594cb13bb9c9806a778 Mon Sep 17 00:00:00 2001 From: Jack Halford Date: Mon, 20 Mar 2017 16:10:53 +0100 Subject: [PATCH] ca compile --- 42sh/libft/src/ft_printf/ft_printf.c | 15 +-------------- 42sh/libft/src/str/ft_strsplit.c | 2 +- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/42sh/libft/src/ft_printf/ft_printf.c b/42sh/libft/src/ft_printf/ft_printf.c index b6dc4c25..608cee96 100644 --- a/42sh/libft/src/ft_printf/ft_printf.c +++ b/42sh/libft/src/ft_printf/ft_printf.c @@ -6,25 +6,12 @@ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/11/07 13:33:27 by jhalford #+# #+# */ -/* Updated: 2017/03/20 15:53:20 by jhalford ### ########.fr */ +/* Updated: 2017/03/20 16:10:35 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */ #include "ft_printf.h" -t_conv g_convs[] = -{ - {'d', "0- +", "0123456789", &ft_signed_conversion, NULL}, - {'i', "0- +", "0123456789", &ft_signed_conversion, NULL}, - {'u', "0-", "0123456789", &ft_unsigned_conversion, NULL}, - {'o', "#0-", "01234567", &ft_unsigned_conversion, &ft_pad_sharp_o}, - {'x', "#0-", "0123456789abcdef", &ft_unsigned_conversion, &ft_pad_sharp_xb}, - {'X', "#0-", "0123456789ABCDEF", &ft_unsigned_conversion, &ft_pad_sharp_xb}, - {'b', "#0-", "01", &ft_unsigned_conversion, &ft_pad_sharp_xb}, - {'s', "-", "", &ft_str_conversion, NULL}, - {'c', "-", "", &ft_char_conversion, NULL}, -}; - int ft_printf(const char *format, ...) { va_list ap; diff --git a/42sh/libft/src/str/ft_strsplit.c b/42sh/libft/src/str/ft_strsplit.c index 152acb6e..10323439 100644 --- a/42sh/libft/src/str/ft_strsplit.c +++ b/42sh/libft/src/str/ft_strsplit.c @@ -6,7 +6,7 @@ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/11/03 14:58:40 by jhalford #+# #+# */ -/* Updated: 2017/03/20 16:03:10 by jhalford ### ########.fr */ +/* Updated: 2017/03/20 16:10:24 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */