X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdlib%2Fatoll.c;h=00c1dd393ce11f95cd0c973fb0bff64718505700;hb=d02f38605b53cdff5460cc6b9e1b2a80c3a2ba4c;hp=62abef1e53183fdbb8c165c70949b77bf607f996;hpb=bb7adccc31cb145b671afe75c432da3fc494ad48;p=pdclib diff --git a/functions/stdlib/atoll.c b/functions/stdlib/atoll.c index 62abef1..00c1dd3 100644 --- a/functions/stdlib/atoll.c +++ b/functions/stdlib/atoll.c @@ -8,19 +8,22 @@ Permission is granted to use, modify, and / or redistribute at will. */ -#include <_PDCLIB_int.h> +#include + +#ifndef REGTEST long long int atoll( const char * s ) { return (long long int) _PDCLIB_atomax( s ); } +#endif + #ifdef TEST #include <_PDCLIB_test.h> -int main() +int main( void ) { - BEGIN_TESTS; /* no tests for a simple wrapper */ return TEST_RESULTS; }