]> pd.if.org Git - pdclib/blobdiff - functions/string/strncat.c
Porting current working set from CVS.
[pdclib] / functions / string / strncat.c
index 57200489c97530d58e00901b6c22eca50f1b0b69..eb059b28339e46119f1b4b9fd9ed1552d90b0307 100644 (file)
@@ -8,7 +8,6 @@
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-#include <_PDCLIB_aux.h>
 #include <string.h>
 
 #ifndef REGTEST
@@ -36,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' );