X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fgetc.c;h=57ba171fc40179853d26ebea37e72476004e7045;hb=d6f1494a4f38a212b29a13ee713885058dcf0fe7;hp=b4229f28e8a070c2a0c3aeca45fd90938f198382;hpb=d02f38605b53cdff5460cc6b9e1b2a80c3a2ba4c;p=pdclib diff --git a/functions/stdio/getc.c b/functions/stdio/getc.c index b4229f2..57ba171 100644 --- a/functions/stdio/getc.c +++ b/functions/stdio/getc.c @@ -1,8 +1,4 @@ -/* $Id$ */ - -/* Release $Name$ */ - -/* 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. @@ -12,7 +8,7 @@ #ifndef REGTEST -int getc( FILE * stream ) +int getc( struct _PDCLIB_file_t * stream ) { return fgetc( stream ); } @@ -20,11 +16,11 @@ int getc( FILE * 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; }