]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - libio/getc.c
update from main archvie 961013
[thirdparty/glibc.git] / libio / getc.c
index c345e44ca61ba1e433dac65c636777c1b88e675a..0c0b6b84d3b854539dd553974f0db562f4a12455 100644 (file)
@@ -25,10 +25,10 @@ the executable file might be covered by the GNU General Public License. */
 #include "libioP.h"
 #include "stdio.h"
 
-#undef getc
+#undef _IO_getc
 
 int
-getc (fp)
+_IO_getc (fp)
      FILE *fp;
 {
   int result;
@@ -39,6 +39,8 @@ getc (fp)
   __libc_cleanup_region_end (1);
   return result;
 }
+#undef getc
+weak_alias (_IO_getc, getc)
 
 #ifdef _IO_MTSAFE_IO
 # undef getc_locked