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
/
strlen.c
diff --git
a/functions/string/strlen.c
b/functions/string/strlen.c
index 17ab3cfd948b4331b43904a9f8f959b6db011347..14686bbba734bcd08f3a6296748329eafbafc481 100644
(file)
--- a/
functions/string/strlen.c
+++ b/
functions/string/strlen.c
@@
-27,9
+27,8
@@
size_t strlen( const char * s )
#ifdef TEST
#include <_PDCLIB_test.h>
-int main()
+int main(
void
)
{
- BEGIN_TESTS;
TESTCASE( strlen( abcde ) == 5 );
TESTCASE( strlen( "" ) == 0 );
return TEST_RESULTS;