projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added test drivers.
[fw/pdclib]
/
functions
/
string
/
memcpy.c
diff --git
a/functions/string/memcpy.c
b/functions/string/memcpy.c
index ca460ef9b52de4f7fc399597b726a607caa5b98b..b2606b7222af7e87476d5a3e7718fa4631f99f10 100644
(file)
--- a/
functions/string/memcpy.c
+++ b/
functions/string/memcpy.c
@@
-27,7
+27,7
@@
void * memcpy( void * _PDCLIB_restrict s1, const void * _PDCLIB_restrict s2, siz
int main()
{
- char s[
11
] = "xxxxxxxxxxx";
+ char s[] = "xxxxxxxxxxx";
BEGIN_TESTS;
TESTCASE( memcpy( s, abcde, 6 ) == s );
TESTCASE( s[4] == 'e' );