]> pd.if.org Git - pdclib/blobdiff - functions/stdio/fgetc.c
Removed SVN keyword tags.
[pdclib] / functions / stdio / fgetc.c
index 56e96f5eca481fbdf88136fe42ffa5c03d29dcf5..dc8dfed01c281238cfcede7da3707aaf518ce28c 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* fgetc( FILE * )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -11,7 +9,7 @@
 #ifndef REGTEST
 #include <_PDCLIB_io.h>
 
-int fgetc_unlocked( FILE * stream )
+int _PDCLIB_fgetc_unlocked( FILE * stream )
 {
     if ( _PDCLIB_prepread( stream ) == EOF )
     {
@@ -27,9 +25,9 @@ int fgetc_unlocked( FILE * stream )
 
 int fgetc( FILE * stream )
 {
-    flockfile( stream );
-    int c = fgetc_unlocked( stream );
-    funlockfile( stream );
+    _PDCLIB_flockfile( stream );
+    int c = _PDCLIB_fgetc_unlocked( stream );
+    _PDCLIB_funlockfile( stream );
     return c;
 }