]> pd.if.org Git - pdclib/blobdiff - functions/stdio/getchar.c
Missing declarations / definitions added to stdlib.h.
[pdclib] / functions / stdio / getchar.c
index 406abe434f9dd4fefc3899eb13bf7c6794c9265c..6457df5e07fe711c3d7d0f8ac995a721889fc45a 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 );
 }