summaryrefslogtreecommitdiff
path: root/src/stdlib/strtoull.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/strtoull.c')
-rw-r--r--src/stdlib/strtoull.c8
1 files changed, 3 insertions, 5 deletions
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 <stdlib.h>
#include <ctype.h>
#include <limits.h>
#include <errno.h>
+#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