]> pd.if.org Git - pdclib.old/blobdiff - functions/string/strcpy.c
Porting current working set from CVS.
[pdclib.old] / functions / string / strcpy.c
index c0ca9f039d520ff8991116673dd7a4874026a234..8276dd745aecebc4b525fabb0ba86641b66e7594 100644 (file)
@@ -24,10 +24,9 @@ char * strcpy( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
 #ifdef TEST
 #include <_PDCLIB_test.h>
 
-int main()
+int main( void )
 {
     char s[] = "xxxxx";
-    BEGIN_TESTS;
     TESTCASE( strcpy( s, "" ) == s );
     TESTCASE( s[0] == '\0' );
     TESTCASE( s[1] == 'x' );