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