diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-11-07 17:20:22 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-11-07 17:20:22 +0100 |
| commit | 1695b0184d3a671a7dfae8061709197c9cab8347 (patch) | |
| tree | 73acba82d3654154756ae874a879e386de198ec0 /functions_reference/ref_ft_atoi_base.c | |
| parent | ada41e81dc2d0c01610767837d996f3cc004e008 (diff) | |
| download | libasm_test-1695b0184d3a671a7dfae8061709197c9cab8347.tar.gz libasm_test-1695b0184d3a671a7dfae8061709197c9cab8347.tar.bz2 libasm_test-1695b0184d3a671a7dfae8061709197c9cab8347.zip | |
Added signaled_suite global to avoid test segfault
Diffstat (limited to 'functions_reference/ref_ft_atoi_base.c')
| -rw-r--r-- | functions_reference/ref_ft_atoi_base.c | 6 |
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 |
