X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Fgetc.c;h=7a2a900d3237db8d19c3954821106cebfab3839c;hp=e733d0b087b07368932cae511c067226de0f319e;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=0a419d48138f1411d6e3e50a367b9ece5a2cf893 diff --git a/functions/stdio/getc.c b/functions/stdio/getc.c index e733d0b..7a2a900 100644 --- a/functions/stdio/getc.c +++ b/functions/stdio/getc.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* getc( FILE * ) This file is part of the Public Domain C Library (PDCLib). @@ -9,10 +7,11 @@ #include #ifndef REGTEST - -int getc_unlocked( FILE * stream ) +#include "_PDCLIB_io.h" + +int _PDCLIB_getc_unlocked( FILE * stream ) { - return fgetc_unlocked( stream ); + return _PDCLIB_fgetc_unlocked( stream ); } int getc( FILE * stream ) @@ -23,7 +22,7 @@ int getc( FILE * stream ) #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) {