summaryrefslogtreecommitdiff
path: root/src/stdlib/strtoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/strtoll.c')
-rw-r--r--src/stdlib/strtoll.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/stdlib/strtoll.c b/src/stdlib/strtoll.c
index 5df50390..10f05209 100644
--- a/src/stdlib/strtoll.c
+++ b/src/stdlib/strtoll.c
@@ -1,9 +1,8 @@
-#if 0
-
#include <stdlib.h>
#include <ctype.h>
#include <limits.h>
#include <errno.h>
+#include "_stdlib.h"
long long int strtoll(const char * restrict nptr, char ** restrict endptr, int base)
{
@@ -11,6 +10,8 @@ long long int strtoll(const char * restrict nptr, char ** restrict endptr, int b
long long int max = LLONG_MAX;
long long int min = LLONG_MIN;
+ SIGNAL_SAFE(0);
+
#include "_strtoi.h"
return ret;
@@ -19,6 +20,3 @@ long long int strtoll(const char * restrict nptr, char ** restrict endptr, int b
/*
STDC(199901)
*/
-
-
-#endif