From cc6e7378d3f5473137e0c46d39173e6f60dcefda Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 30 Jan 2024 14:57:46 -0500 Subject: update standards and safety checks --- src/stdlib/strtoull.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/stdlib/strtoull.c') diff --git a/src/stdlib/strtoull.c b/src/stdlib/strtoull.c index bf0eff9a..2a74df16 100644 --- a/src/stdlib/strtoull.c +++ b/src/stdlib/strtoull.c @@ -1,9 +1,8 @@ -#if 0 - #include #include #include #include +#include "_stdlib.h" unsigned long long int strtoull(const char * restrict nptr, char ** restrict endptr, int base) { @@ -11,6 +10,8 @@ unsigned long long int strtoull(const char * restrict nptr, char ** restrict end unsigned long long int max = ULLONG_MAX; unsigned long long int min = 0; + SIGNAL_SAFE(0); + #include "_strtoi.h" return ret; @@ -19,6 +20,3 @@ unsigned long long int strtoull(const char * restrict nptr, char ** restrict end /* STDC(199901) */ - - -#endif -- cgit v1.2.1