aboutsummaryrefslogtreecommitdiff
path: root/functions_reference/ref_ft_atoi_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'functions_reference/ref_ft_atoi_base.c')
-rw-r--r--functions_reference/ref_ft_atoi_base.c6
1 files changed, 1 insertions, 5 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