X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fstring%2Fstrpbrk.c;h=a6dffeb749da571ca5305efa5cdd080482ab45f2;hp=2bec285abb02b1d724ec6f41525cf95871511528;hb=12e17136786afb1775c9dc946cbe41f5e230c24a;hpb=9489b93733c00be5a94e2ee5b349457c78184a1a diff --git a/functions/string/strpbrk.c b/functions/string/strpbrk.c index 2bec285..a6dffeb 100644 --- a/functions/string/strpbrk.c +++ b/functions/string/strpbrk.c @@ -36,9 +36,8 @@ char * strpbrk( const char * s1, const char * s2 ) #ifdef TEST #include <_PDCLIB_test.h> -int main() +int main( void ) { - BEGIN_TESTS; TESTCASE( strpbrk( abcde, "x" ) == NULL ); TESTCASE( strpbrk( abcde, "xyz" ) == NULL ); TESTCASE( strpbrk( abcdx, "x" ) == &abcdx[4] );