]> pd.if.org Git - pdclib.old/blobdiff - functions/string/strstr.c
Porting current working set from CVS.
[pdclib.old] / functions / string / strstr.c
index 0856030f18b0c8fa02e3002e9ef3bbf7a12de489..793d38a09b29819ce8c9c8c014807b471191592a 100644 (file)
@@ -39,10 +39,9 @@ char * strstr( const char * s1, const char * s2 )
 #ifdef TEST
 #include <_PDCLIB_test.h>
 
-int main()
+int main( void )
 {
     char s[] = "abcabcabcdabcde";
-    BEGIN_TESTS;
     TESTCASE( strstr( s, "x" ) == NULL );
     TESTCASE( strstr( s, "xyz" ) == NULL );
     TESTCASE( strstr( s, "a" ) == &s[0] );