]> pd.if.org Git - pdclib.old/blobdiff - functions/string/strcpy.c
Removed the $Name$ tags (not supported by SVN). Added $Id$ to Makefile / text files.
[pdclib.old] / functions / string / strcpy.c
index c0ca9f039d520ff8991116673dd7a4874026a234..1fd3d32b9357c7d7265a0b1ad094e788e6accfea 100644 (file)
@@ -1,7 +1,5 @@
 /* $Id$ */
 
-/* Release $Name$ */
-
 /* strcpy( char *, const char * )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -24,10 +22,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' );