]> pd.if.org Git - pdclib.old/blobdiff - functions/string/strspn.c
Removed the $Name$ tags (not supported by SVN). Added $Id$ to Makefile / text files.
[pdclib.old] / functions / string / strspn.c
index ed9b8b149fe51fb87094b44836113584517a37cc..a546e94f45ce9cd6c0e74e5b828b3472eb314788 100644 (file)
@@ -1,7 +1,5 @@
 /* $Id$ */
 
-/* Release $Name$ */
-
 /* strspn( const char *, const char * )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -41,9 +39,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 );