aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/atoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/atoll.c')
-rw-r--r--src/stdlib/atoll.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdlib/atoll.c b/src/stdlib/atoll.c
index b6930489..d0d763c3 100644
--- a/src/stdlib/atoll.c
+++ b/src/stdlib/atoll.c
@@ -15,3 +15,11 @@ long long atoll(const char *s)
n = 10*n - (*s++ - '0');
return neg ? n : -n;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif