X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fgetchar.c;h=34ee54508e7e9d029d779a9265b2b0ecd6f1e89f;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=0aef0c3463dbadf1af24cc9b98cfe71b04b702fa;hpb=46983693f019c28a1c2420e9e7dfc204916af411;p=pdclib diff --git a/functions/stdio/getchar.c b/functions/stdio/getchar.c index 0aef0c3..34ee545 100644 --- a/functions/stdio/getchar.c +++ b/functions/stdio/getchar.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* getchar( void ) This file is part of the Public Domain C Library (PDCLib). @@ -10,7 +8,7 @@ #ifndef REGTEST -int (getchar)( void ) +int getchar( void ) { return fgetc( stdin ); } @@ -18,11 +16,12 @@ int (getchar)( void ) #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; }