]> pd.if.org Git - pdclib/commitdiff
Removed macro-implemented getchar.c.
authorsolar <unknown>
Mon, 8 May 2006 15:49:01 +0000 (15:49 +0000)
committersolar <unknown>
Mon, 8 May 2006 15:49:01 +0000 (15:49 +0000)
functions/stdio/getchar.c [deleted file]

diff --git a/functions/stdio/getchar.c b/functions/stdio/getchar.c
deleted file mode 100644 (file)
index 0aef0c3..0000000
+++ /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 <stdio.h>
-
-#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