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
/
memset.c
diff --git
a/functions/string/memset.c
b/functions/string/memset.c
index 4abb466ebd763b5ef8cdfcdcc91a96037e8c4729..9c9760fbb848a081c5939360c097b7c8a79a7138 100644
(file)
--- a/
functions/string/memset.c
+++ b/
functions/string/memset.c
@@
-27,10
+27,9
@@
void * memset( void * s, int c, size_t n )
#ifdef TEST
#include <_PDCLIB_test.h>
-int main()
+int main(
void
)
{
char s[] = "xxxxxxxxx";
- BEGIN_TESTS;
TESTCASE( memset( s, 'o', 10 ) == s );
TESTCASE( s[9] == 'o' );
TESTCASE( memset( s, '_', 0 ) == s );