X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrxfrm.c;h=2f8f7a61777886a522fc9ef66f3830b23dcbfa5a;hb=d9dcf16664c81809258992e1653ecb68c8079974;hp=4b81c9375c624f47b50329b8ed16abf8fbd678b0;hpb=d18abec50882ca919a52ffc54b2b5c8703cb2864;p=pdclib.old diff --git a/functions/string/strxfrm.c b/functions/string/strxfrm.c index 4b81c93..2f8f7a6 100644 --- a/functions/string/strxfrm.c +++ b/functions/string/strxfrm.c @@ -1,14 +1,11 @@ /* $Id$ */ -/* Release $Name$ */ - /* strxfrm( char *, const char *, size_t ) This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. */ -#include <_PDCLIB_aux.h> #include #ifndef REGTEST @@ -32,10 +29,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 ); /*