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
/
strspn.c
diff --git
a/functions/string/strspn.c
b/functions/string/strspn.c
index ed9b8b149fe51fb87094b44836113584517a37cc..78ee1aa04e47ccbd201c8ab29ea6ebf77d1bee94 100644
(file)
--- a/
functions/string/strspn.c
+++ b/
functions/string/strspn.c
@@
-41,9
+41,8
@@
size_t strspn( const char * s1, const char * s2 )
#ifdef TEST
#include <_PDCLIB_test.h>
-int main()
+int main(
void
)
{
- BEGIN_TESTS;
TESTCASE( strspn( abcde, "abc" ) == 3 );
TESTCASE( strspn( abcde, "b" ) == 0 );
TESTCASE( strspn( abcde, abcde ) == 5 );