From: solar Date: Mon, 8 May 2006 15:49:01 +0000 (+0000) Subject: Removed macro-implemented getchar.c. X-Git-Tag: v0.5~206 X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=52b81b9d6410463dbc0e680862221054976291a7 Removed macro-implemented getchar.c. --- 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