X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2F_PDCLIB%2Fatomax.c;h=6835b14e9f45d1a0d591bfb64272562b00c1a658;hb=12e17136786afb1775c9dc946cbe41f5e230c24a;hp=bde1fafffa8416190898035a1b8dce90d550ae53;hpb=61c50ee9e390879904e28f6e041dc86f4a1a8cd7;p=pdclib.old diff --git a/functions/_PDCLIB/atomax.c b/functions/_PDCLIB/atomax.c index bde1faf..6835b14 100644 --- a/functions/_PDCLIB/atomax.c +++ b/functions/_PDCLIB/atomax.c @@ -8,6 +8,7 @@ Permission is granted to use, modify, and / or redistribute at will. */ +#define _PDCLIB_INT_H _PDCLIB_INT_H #include <_PDCLIB_int.h> #include #include @@ -31,9 +32,8 @@ _PDCLIB_intmax_t _PDCLIB_atomax( const char * s ) #ifdef TEST #include <_PDCLIB_test.h> -int main() +int main( void ) { - BEGIN_TESTS; /* basic functionality */ TESTCASE( _PDCLIB_atomax( "123" ) == 123 ); /* testing skipping of leading whitespace and trailing garbage */