X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrpbrk.c;h=41211dbd55970a8b09a898490065ac3e9b6a114c;hb=3309ec3ad8a5db735eaa2de7f5dc6a331d8e7319;hp=2bec285abb02b1d724ec6f41525cf95871511528;hpb=d18abec50882ca919a52ffc54b2b5c8703cb2864;p=pdclib.old diff --git a/functions/string/strpbrk.c b/functions/string/strpbrk.c index 2bec285..41211db 100644 --- a/functions/string/strpbrk.c +++ b/functions/string/strpbrk.c @@ -1,7 +1,5 @@ /* $Id$ */ -/* Release $Name$ */ - /* strpbrk( const char *, const char * ) This file is part of the Public Domain C Library (PDCLib). @@ -36,9 +34,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] );