X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrspn.c;h=0cf90df051ecbbcce66c8345fcd38119635d5afd;hb=e1c526e9bad3f6e69391e94059096145390508d3;hp=ed9b8b149fe51fb87094b44836113584517a37cc;hpb=40d0246771c8e593d4b5fdc97dd87b4afd260be2;p=pdclib diff --git a/functions/string/strspn.c b/functions/string/strspn.c index ed9b8b1..0cf90df 100644 --- a/functions/string/strspn.c +++ b/functions/string/strspn.c @@ -1,7 +1,3 @@ -/* $Id$ */ - -/* Release $Name$ */ - /* strspn( const char *, const char * ) This file is part of the Public Domain C Library (PDCLib). @@ -41,9 +37,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 );