X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=functions%2Fstring%2Fstrxfrm.c;h=57a106f1aa1b79c8b585ca241a7c9acfe4d80295;hb=06275ba47a87a2674753231c1fb4cf8cdc273152;hp=4b81c9375c624f47b50329b8ed16abf8fbd678b0;hpb=40d0246771c8e593d4b5fdc97dd87b4afd260be2;p=pdclib diff --git a/functions/string/strxfrm.c b/functions/string/strxfrm.c index 4b81c93..57a106f 100644 --- a/functions/string/strxfrm.c +++ b/functions/string/strxfrm.c @@ -8,7 +8,6 @@ Permission is granted to use, modify, and / or redistribute at will. */ -#include <_PDCLIB_aux.h> #include #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 ); /*