diff options
Diffstat (limited to 'src/stdlib/atol.c')
-rw-r--r-- | src/stdlib/atol.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdlib/atol.c b/src/stdlib/atol.c index 140ea3ea..cfd723c4 100644 --- a/src/stdlib/atol.c +++ b/src/stdlib/atol.c @@ -15,3 +15,11 @@ long atol(const char *s) n = 10*n - (*s++ - '0'); return neg ? n : -n; } + + +#ifdef TEST +int +main(void) { + return 0; +} +#endif |