]> pd.if.org Git - pdclib.old/blobdiff - functions/_PDCLIB/atomax.c
Porting current working set from CVS.
[pdclib.old] / functions / _PDCLIB / atomax.c
index bde1fafffa8416190898035a1b8dce90d550ae53..6835b14e9f45d1a0d591bfb64272562b00c1a658 100644 (file)
@@ -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 <string.h>
 #include <ctype.h>
@@ -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 */