X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstring%2Fstrcpy.c;h=d66cbaba5edb230b5ae4d6346c7f47080db402fd;hp=c0ca9f039d520ff8991116673dd7a4874026a234;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=b533867fc9062c9f88f94a1de99ef78c6b7e91a1 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' );