X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrcat.c;h=bb7db50abc62203fa62473b4a98b74b6f33ec56d;hb=cd6cfe0f578c4f744ddc9a342243aff6b42f8027;hp=e76b7db6fb34ee2033faba74e936058ffcfeb79f;hpb=0c76deec506f54fff7326da6b1dcaef5958777ec;p=pdclib.old diff --git a/functions/string/strcat.c b/functions/string/strcat.c index e76b7db..bb7db50 100644 --- a/functions/string/strcat.c +++ b/functions/string/strcat.c @@ -1,7 +1,5 @@ /* $Id$ */ -/* Release $Name$ */ - /* strcat( char *, const char * ) This file is part of the Public Domain C Library (PDCLib). @@ -28,10 +26,9 @@ char * strcat( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 ) #ifdef TEST #include <_PDCLIB_test.h> -int main() +int main( void ) { char s[] = "xx\0xxxxxx"; - BEGIN_TESTS; TESTCASE( strcat( s, abcde ) == s ); TESTCASE( s[2] == 'a' ); TESTCASE( s[6] == 'e' );