X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fgetchar.c;h=7e1fc744373d64279828574c3f6d80263abff5d8;hb=d6f1494a4f38a212b29a13ee713885058dcf0fe7;hp=0aef0c3463dbadf1af24cc9b98cfe71b04b702fa;hpb=46983693f019c28a1c2420e9e7dfc204916af411;p=pdclib diff --git a/functions/stdio/getchar.c b/functions/stdio/getchar.c index 0aef0c3..7e1fc74 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,11 @@ 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; }