X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrcpy.c;h=d66cbaba5edb230b5ae4d6346c7f47080db402fd;hb=d6f1494a4f38a212b29a13ee713885058dcf0fe7;hp=c0ca9f039d520ff8991116673dd7a4874026a234;hpb=b533867fc9062c9f88f94a1de99ef78c6b7e91a1;p=pdclib diff --git a/functions/string/strcpy.c b/functions/string/strcpy.c index c0ca9f0..d66cbab 100644 --- a/functions/string/strcpy.c +++ b/functions/string/strcpy.c @@ -1,7 +1,3 @@ -/* $Id$ */ - -/* Release $Name$ */ - /* strcpy( char *, const char * ) This file is part of the Public Domain C Library (PDCLib). @@ -22,12 +18,11 @@ char * strcpy( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 ) #endif #ifdef TEST -#include <_PDCLIB_test.h> +#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' );