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
/
strcspn.c
diff --git
a/functions/string/strcspn.c
b/functions/string/strcspn.c
index 68dd8b42676afff932e73bfc993fbc6835879f08..2709e920b25ef82561c6d28203a24f48157f2a2f 100644
(file)
--- a/
functions/string/strcspn.c
+++ b/
functions/string/strcspn.c
@@
-36,9
+36,8
@@
size_t strcspn( const char * s1, const char * s2 )
#ifdef TEST
#include <_PDCLIB_test.h>
-int main()
+int main(
void
)
{
- BEGIN_TESTS;
TESTCASE( strcspn( abcde, "x" ) == 5 );
TESTCASE( strcspn( abcde, "xyz" ) == 5 );
TESTCASE( strcspn( abcde, "zyx" ) == 5 );