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
/
memcpy.c
diff --git
a/functions/string/memcpy.c
b/functions/string/memcpy.c
index 5893e4df64dc8339f9aaa168adad0c3833c4b5f7..636b21bf32530115bd8792623b1de9129747b153 100644
(file)
--- a/
functions/string/memcpy.c
+++ b/
functions/string/memcpy.c
@@
-28,10
+28,9
@@
void * memcpy( void * _PDCLIB_restrict s1, const void * _PDCLIB_restrict s2, siz
#ifdef TEST
#include <_PDCLIB_test.h>
-int main()
+int main(
void
)
{
char s[] = "xxxxxxxxxxx";
- BEGIN_TESTS;
TESTCASE( memcpy( s, abcde, 6 ) == s );
TESTCASE( s[4] == 'e' );
TESTCASE( s[5] == '\0' );