X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fmemmove.c;h=af8981358414436351221d091cbb50bd52943232;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=7a01996b3aceea9dec863bb7a836262d88670783;hpb=40d0246771c8e593d4b5fdc97dd87b4afd260be2;p=pdclib diff --git a/functions/string/memmove.c b/functions/string/memmove.c index 7a01996..af89813 100644 --- a/functions/string/memmove.c +++ b/functions/string/memmove.c @@ -1,7 +1,3 @@ -/* $Id$ */ - -/* Release $Name$ */ - /* memmove( void *, const void *, size_t ) This file is part of the Public Domain C Library (PDCLib). @@ -38,12 +34,12 @@ void * memmove( void * s1, const void * s2, size_t n ) #endif #ifdef TEST -#include <_PDCLIB_test.h> -int main() +#include "_PDCLIB_test.h" + +int main( void ) { char s[] = "xxxxabcde"; - BEGIN_TESTS; TESTCASE( memmove( s, s + 4, 5 ) == s ); TESTCASE( s[0] == 'a' ); TESTCASE( s[4] == 'e' ); @@ -52,4 +48,5 @@ int main() TESTCASE( s[4] == 'a' ); return TEST_RESULTS; } + #endif