X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fgetchar.c;h=16037287f9d166ada249d915bbd3c00492731a97;hb=5fd032eae66fba700cb9927840222b068c62361e;hp=0aef0c3463dbadf1af24cc9b98cfe71b04b702fa;hpb=46983693f019c28a1c2420e9e7dfc204916af411;p=pdclib diff --git a/functions/stdio/getchar.c b/functions/stdio/getchar.c index 0aef0c3..1603728 100644 --- a/functions/stdio/getchar.c +++ b/functions/stdio/getchar.c @@ -10,7 +10,7 @@ #ifndef REGTEST -int (getchar)( void ) +int getchar( void ) { return fgetc( stdin ); } @@ -22,7 +22,7 @@ int (getchar)( void ) int main( void ) { - TESTCASE( NO_TESTDRIVER ); + /* Testing covered by ftell.c */ return TEST_RESULTS; }