diff options
Diffstat (limited to 'functions_reference')
| -rw-r--r-- | functions_reference/ref_ft_atoi_base.c | 6 | ||||
| -rw-r--r-- | functions_reference/ref_ft_list_size.c | 6 | ||||
| -rw-r--r-- | functions_reference/ref_ft_list_sort.c | 6 |
3 files changed, 3 insertions, 15 deletions
diff --git a/functions_reference/ref_ft_atoi_base.c b/functions_reference/ref_ft_atoi_base.c index 52dd92c..638b61d 100644 --- a/functions_reference/ref_ft_atoi_base.c +++ b/functions_reference/ref_ft_atoi_base.c @@ -6,15 +6,13 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/08 03:20:16 by cacharle #+# #+# */ -/* Updated: 2020/10/21 15:29:23 by charles ### ########.fr */ +/* Updated: 2020/11/07 17:17:01 by charles ### ########.fr */ /* */ /* ************************************************************************** */ #include <ctype.h> #include "libasm_test.h" -#ifdef LIBASM_TEST_BONUS - static bool valid_base(char *base) { @@ -56,5 +54,3 @@ int ref_ft_atoi_base(char *str, char *base) } return is_negative ? -nb : nb; } - -#endif diff --git a/functions_reference/ref_ft_list_size.c b/functions_reference/ref_ft_list_size.c index a76a472..6f5e7cf 100644 --- a/functions_reference/ref_ft_list_size.c +++ b/functions_reference/ref_ft_list_size.c @@ -6,14 +6,12 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/08 03:20:11 by cacharle #+# #+# */ -/* Updated: 2020/10/21 15:28:41 by charles ### ########.fr */ +/* Updated: 2020/11/07 17:17:28 by charles ### ########.fr */ /* */ /* ************************************************************************** */ #include "libasm_test.h" -#ifdef LIBASM_TEST_BONUS - int ref_ft_list_size(t_list *begin_list) { int counter; @@ -26,5 +24,3 @@ int ref_ft_list_size(t_list *begin_list) } return counter; } - -#endif diff --git a/functions_reference/ref_ft_list_sort.c b/functions_reference/ref_ft_list_sort.c index 08914b3..6f40513 100644 --- a/functions_reference/ref_ft_list_sort.c +++ b/functions_reference/ref_ft_list_sort.c @@ -6,14 +6,12 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/08 02:49:28 by cacharle #+# #+# */ -/* Updated: 2020/10/21 15:28:30 by charles ### ########.fr */ +/* Updated: 2020/11/07 17:17:13 by charles ### ########.fr */ /* */ /* ************************************************************************** */ #include "libasm_test.h" -#ifdef LIBASM_TEST_BONUS - static t_list* merge_sorted_list(t_list* l1, t_list* l2, int (*cmp)(void *, void*)) { @@ -59,5 +57,3 @@ void ref_ft_list_sort(t_list **begin_list, int (*cmp)(void *, void*)) ref_ft_list_sort(&middle, cmp); *begin_list = merge_sorted_list(*begin_list, middle, cmp); } - -#endif |
