]> pd.if.org Git - pdclib/blobdiff - functions/string/memcmp.c
Porting current working set from CVS.
[pdclib] / functions / string / memcmp.c
index 167355f82a2f4255d7aa0cd08d27d49ac2338459..2997694de4d40f73a90f74857f147ac96b4572a4 100644 (file)
@@ -33,10 +33,9 @@ int memcmp( const void * s1, const void * s2, size_t n )
 #ifdef TEST
 #include <_PDCLIB_test.h>
 
-int main()
+int main( void )
 {
     char const xxxxx[] = "xxxxx";
-    BEGIN_TESTS;
     TESTCASE( memcmp( abcde, abcdx, 5 ) < 0 );
     TESTCASE( memcmp( abcde, abcdx, 4 ) == 0 );
     TESTCASE( memcmp( abcde, xxxxx, 0 ) == 0 );