From mboxrd@z Thu Jan 1 00:00:00 1970 From: Weiwen Liu To: egcs@cygnus.com Subject: typo in libio.h Date: Mon, 08 Sep 1997 08:54:00 -0000 Message-id: X-SW-Source: 1997-09/msg00284.html Hi, The following patch fixes a type in libio.h. Without this patch, libstdc++ will fail. Since Makefile does not specify that iofeof.c depends on libio.h, remove iofeof.o before rebuilding libio.a Mon Sep 8 01:30:27 1997 Weiwen Liu * libio.h: Fix typo. *** libio.h.~1~ Sat Sep 6 03:43:42 1997 --- libio.h Mon Sep 8 01:20:27 1997 *************** extern int __overflow __P((_IO_FILE*, in *** 273,279 **** ? __overflow(_fp, (unsigned char)(_ch)) \ : (unsigned char)(*(_fp)->_IO_write_ptr++ = (_ch))) ! #define _IO_feof_unclocked(__fp) (((__fp)->_flags & _IO_EOF_SEEN) != 0) #define _IO_ferror_unlocked(__fp) (((__fp)->_flags & _IO_ERR_SEEN) != 0) extern int _IO_getc __P ((_IO_FILE *__fp)); --- 273,279 ---- ? __overflow(_fp, (unsigned char)(_ch)) \ : (unsigned char)(*(_fp)->_IO_write_ptr++ = (_ch))) ! #define _IO_feof_unlocked(__fp) (((__fp)->_flags & _IO_EOF_SEEN) != 0) #define _IO_ferror_unlocked(__fp) (((__fp)->_flags & _IO_ERR_SEEN) != 0) extern int _IO_getc __P ((_IO_FILE *__fp));