X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdlib%2Fatoll.c;h=8b65b35b79fb7c4fc764f5afd0fd73e26195e193;hb=689f876fb2420ed2ce45aca58dc39f05e1eb5c2d;hp=62abef1e53183fdbb8c165c70949b77bf607f996;hpb=bb7adccc31cb145b671afe75c432da3fc494ad48;p=pdclib diff --git a/functions/stdlib/atoll.c b/functions/stdlib/atoll.c index 62abef1..8b65b35 100644 --- a/functions/stdlib/atoll.c +++ b/functions/stdlib/atoll.c @@ -1,26 +1,26 @@ -/* $Id$ */ - -/* Release $Name$ */ - /* atoll( const char * ) This file is part of the Public Domain C Library (PDCLib). 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() +#include "_PDCLIB_test.h" + +int main( void ) { - BEGIN_TESTS; /* no tests for a simple wrapper */ return TEST_RESULTS; }