]> pd.if.org Git - pdclib/blobdiff - functions/string/strpbrk.c
Whitespace cleanups.
[pdclib] / functions / string / strpbrk.c
index 2bec285abb02b1d724ec6f41525cf95871511528..e95f0c1776478033fe9ad400464925986fb92081 100644 (file)
@@ -1,7 +1,3 @@
-/* $Id$ */
-
-/* Release $Name$ */
-
 /* strpbrk( const char *, const char * )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -34,11 +30,11 @@ char * strpbrk( const char * s1, const char * s2 )
 #endif
 
 #ifdef TEST
-#include <_PDCLIB_test.h>
 
-int main()
+#include "_PDCLIB_test.h"
+
+int main( void )
 {
-    BEGIN_TESTS;
     TESTCASE( strpbrk( abcde, "x" ) == NULL );
     TESTCASE( strpbrk( abcde, "xyz" ) == NULL );
     TESTCASE( strpbrk( abcdx, "x" ) == &abcdx[4] );
@@ -49,4 +45,5 @@ int main()
     TESTCASE( strpbrk( abcde, "cba" ) == &abcde[0] );
     return TEST_RESULTS;
 }
+
 #endif