From 52b81b9d6410463dbc0e680862221054976291a7 Mon Sep 17 00:00:00 2001 From: solar Date: Mon, 8 May 2006 15:49:01 +0000 Subject: [PATCH] Removed macro-implemented getchar.c. --- functions/stdio/getchar.c | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 functions/stdio/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 -- 2.40.0