]> pd.if.org Git - pdclib/blobdiff - functions/stdio/getchar.c
PDCLib includes with quotes, not <>.
[pdclib] / functions / stdio / getchar.c
index 406abe434f9dd4fefc3899eb13bf7c6794c9265c..4a6fe4d14a18e12aff95daeaf71fa4b963b8a8ed 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* getchar( void )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -9,10 +7,11 @@
 #include <stdio.h>
 
 #ifndef REGTEST
+#include "_PDCLIB_io.h"
 
-int getchar_unlocked( void )
+int _PDCLIB_getchar_unlocked( void )
 {
-    return fgetc_unlocked( stdin );
+    return _PDCLIB_fgetc_unlocked( stdin );
 }
 
 
@@ -24,7 +23,7 @@ int getchar( void )
 #endif
 
 #ifdef TEST
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
 
 int main( void )
 {