X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdlib%2Fatol.c;h=00ce4474dd3cdbb1943b58cf3554107773c99502;hb=d1954049a406af2992113a783539aa5d86cfdfa8;hp=b779f564e7d5c1ce390991e6ecdc12dbf1a3229c;hpb=61c50ee9e390879904e28f6e041dc86f4a1a8cd7;p=pdclib.old diff --git a/functions/stdlib/atol.c b/functions/stdlib/atol.c index b779f56..00ce447 100644 --- a/functions/stdlib/atol.c +++ b/functions/stdlib/atol.c @@ -1,26 +1,27 @@ /* $Id$ */ -/* Release $Name$ */ - /* atol( 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 int atol( const char * s ) { return (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; }