X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrxfrm.c;h=57a106f1aa1b79c8b585ca241a7c9acfe4d80295;hb=326f9b37c5bbc8b8da0aa62c3ea04833eea4963c;hp=4b81c9375c624f47b50329b8ed16abf8fbd678b0;hpb=d18abec50882ca919a52ffc54b2b5c8703cb2864;p=pdclib.old 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 ); /*