]> pd.if.org Git - pdclib/blobdiff - functions/string/strspn.c
PDCLib includes with quotes, not <>.
[pdclib] / functions / string / strspn.c
index ed9b8b149fe51fb87094b44836113584517a37cc..8869a846834607887a9c25bc50aef3f9baf2fc9c 100644 (file)
@@ -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 );