/* $Id$ */
-/* Release $Name$ */
-
/* strrchr( const char *, int c )
This file is part of the Public Domain C Library (PDCLib).
#ifdef TEST
#include <_PDCLIB_test.h>
-int main()
+int main( void )
{
char abccd[] = "abccd";
- BEGIN_TESTS;
TESTCASE( strrchr( abcde, '\0' ) == &abcde[5] );
TESTCASE( strrchr( abcde, 'e' ) == &abcde[4] );
TESTCASE( strrchr( abcde, 'a' ) == &abcde[0] );