X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fgetchar.c;h=6457df5e07fe711c3d7d0f8ac995a721889fc45a;hb=6d8ab22315929ce3c33509be3492dc067c3b1c19;hp=406abe434f9dd4fefc3899eb13bf7c6794c9265c;hpb=6ca24b75c75b9c6f22e1e69693d326b8e3330841;p=pdclib diff --git a/functions/stdio/getchar.c b/functions/stdio/getchar.c index 406abe4..6457df5 100644 --- a/functions/stdio/getchar.c +++ b/functions/stdio/getchar.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* getchar( void ) This file is part of the Public Domain C Library (PDCLib). @@ -9,10 +7,11 @@ #include #ifndef REGTEST +#include <_PDCLIB_io.h> -int getchar_unlocked( void ) +int _PDCLIB_getchar_unlocked( void ) { - return fgetc_unlocked( stdin ); + return _PDCLIB_fgetc_unlocked( stdin ); }