X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstring%2Fstrspn.c;h=8869a846834607887a9c25bc50aef3f9baf2fc9c;hp=ed9b8b149fe51fb87094b44836113584517a37cc;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=40d0246771c8e593d4b5fdc97dd87b4afd260be2 diff --git a/functions/string/strspn.c b/functions/string/strspn.c index ed9b8b1..8869a84 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). @@ -39,11 +35,10 @@ size_t strspn( const char * s1, const char * s2 ) #endif #ifdef TEST -#include <_PDCLIB_test.h> +#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 );