X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrpbrk.c;h=e95f0c1776478033fe9ad400464925986fb92081;hb=b3b47892170124cf28a2cfb5ff4aeb227989aa21;hp=2bec285abb02b1d724ec6f41525cf95871511528;hpb=40d0246771c8e593d4b5fdc97dd87b4afd260be2;p=pdclib diff --git a/functions/string/strpbrk.c b/functions/string/strpbrk.c index 2bec285..e95f0c1 100644 --- a/functions/string/strpbrk.c +++ b/functions/string/strpbrk.c @@ -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