]> pd.if.org Git - pdclib/blobdiff - functions/string/strncat.c
Porting current working set from CVS.
[pdclib] / functions / string / strncat.c
index f05a9ec7239cf19cf53c14c5ef1a78e0c5d028b3..eb059b28339e46119f1b4b9fd9ed1552d90b0307 100644 (file)
@@ -35,10 +35,9 @@ char * strncat( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2, si
 #ifdef TEST
 #include <_PDCLIB_test.h>
 
-int main()
+int main( void )
 {
     char s[] = "xx\0xxxxxx";
-    BEGIN_TESTS;
     TESTCASE( strncat( s, abcde, 10 ) == s );
     TESTCASE( s[2] == 'a' );
     TESTCASE( s[6] == 'e' );