-/* $Id$ */
-
-/* getc( void )
+/* getc( FILE * )
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
#ifndef REGTEST
-int getc( FILE * stream )
+int getc( struct _PDCLIB_file_t * stream )
{
return fgetc( stream );
}
#endif
#ifdef TEST
-#include <_PDCLIB_test.h>
+
+#include "_PDCLIB_test.h"
int main( void )
{
- TESTCASE( NO_TESTDRIVER );
+ /* Testing covered by ftell.c */
return TEST_RESULTS;
}