projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Porting current working set from CVS.
[fw/pdclib]
/
functions
/
string
/
memmove.c
diff --git
a/functions/string/memmove.c
b/functions/string/memmove.c
index 7a01996b3aceea9dec863bb7a836262d88670783..3bb889532ed96a3898004b2b130678d5b4f9c1f5 100644
(file)
--- a/
functions/string/memmove.c
+++ b/
functions/string/memmove.c
@@
-40,10
+40,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' );