X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=functions%2Fstdio%2Fgetchar.c;fp=functions%2Fstdio%2Fgetchar.c;h=0000000000000000000000000000000000000000;hb=1d22c3c1dc515e6c64463188da7634978efbd43d;hp=0aef0c3463dbadf1af24cc9b98cfe71b04b702fa;hpb=e3e7317956df1cd23cad84337236fcfad2974025;p=fw%2Fpdclib diff --git a/functions/stdio/getchar.c b/functions/stdio/getchar.c deleted file mode 100644 index 0aef0c3..0000000 --- a/functions/stdio/getchar.c +++ /dev/null @@ -1,29 +0,0 @@ -/* $Id$ */ - -/* getchar( void ) - - This file is part of the Public Domain C Library (PDCLib). - Permission is granted to use, modify, and / or redistribute at will. -*/ - -#include - -#ifndef REGTEST - -int (getchar)( void ) -{ - return fgetc( stdin ); -} - -#endif - -#ifdef TEST -#include <_PDCLIB_test.h> - -int main( void ) -{ - TESTCASE( NO_TESTDRIVER ); - return TEST_RESULTS; -} - -#endif