]> pd.if.org Git - pdclib/blobdiff - functions/string/memcpy.c
Porting current working set from CVS.
[pdclib] / functions / string / memcpy.c
index 5893e4df64dc8339f9aaa168adad0c3833c4b5f7..636b21bf32530115bd8792623b1de9129747b153 100644 (file)
@@ -28,10 +28,9 @@ void * memcpy( void * _PDCLIB_restrict s1, const void * _PDCLIB_restrict s2, siz
 #ifdef TEST
 #include <_PDCLIB_test.h>
 
-int main()
+int main( void )
 {
     char s[] = "xxxxxxxxxxx";
-    BEGIN_TESTS;
     TESTCASE( memcpy( s, abcde, 6 ) == s );
     TESTCASE( s[4] == 'e' );
     TESTCASE( s[5] == '\0' );