]> pd.if.org Git - pdclib.old/blobdiff - functions/string/strxfrm.c
Porting current working set from CVS.
[pdclib.old] / functions / string / strxfrm.c
index 4b81c9375c624f47b50329b8ed16abf8fbd678b0..57a106f1aa1b79c8b585ca241a7c9acfe4d80295 100644 (file)
@@ -8,7 +8,6 @@
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-#include <_PDCLIB_aux.h>
 #include <string.h>
 
 #ifndef REGTEST
@@ -32,10 +31,9 @@ size_t strxfrm( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2, si
 #ifdef TEST
 #include <_PDCLIB_test.h>
 
-int main()
+int main( void )
 {
     char s[] = "xxxxxxxxxxx";
-    BEGIN_TESTS;
     TESTCASE( strxfrm( NULL, "123456789012", 0 ) == 12 );
     TESTCASE( strxfrm( s, "123456789012", 12 ) == 12 );
     /*