X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fgetchar.c;fp=functions%2Fstdio%2Fgetchar.c;h=0000000000000000000000000000000000000000;hb=83e523eb667db5c99681ad6a8feec5b2994876dd;hp=0aef0c3463dbadf1af24cc9b98cfe71b04b702fa;hpb=dc208a7471f0de2ee1bf6138a5c61bfa2471f52b;p=pdclib.old 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