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
/
strxfrm.c
diff --git
a/functions/string/strxfrm.c
b/functions/string/strxfrm.c
index c80839e635b8e6d25543eb4148979e56d5d950d3..57a106f1aa1b79c8b585ca241a7c9acfe4d80295 100644
(file)
--- a/
functions/string/strxfrm.c
+++ b/
functions/string/strxfrm.c
@@
-31,10
+31,9
@@
size_t strxfrm( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2, si
#ifdef TEST
#include <_PDCLIB_test.h>
-int main()
+int main(
void
)
{
char s[] = "xxxxxxxxxxx";
- BEGIN_TESTS;
TESTCASE( strxfrm( NULL, "123456789012", 0 ) == 12 );
TESTCASE( strxfrm( s, "123456789012", 12 ) == 12 );
/*