This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
libio PATCH: fix bogus friend delaration
- To: gcc-patches at gcc dot gnu dot org
- Subject: libio PATCH: fix bogus friend delaration
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 18 Aug 2000 12:22:56 +0200
- Cc: drepper at redhat dot com
- Organization: CodeSourcery, LLC
I committed the following under the obvious rule.
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com
2000-08-18 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* editbuf.h (edit_streambuf): Fix syntax error in
friend-declaration.
Index: editbuf.h
===================================================================
RCS file: /cvs/gcc/egcs/libio/editbuf.h,v
retrieving revision 1.2
diff -p -r1.2 editbuf.h
*** editbuf.h 1999/09/04 15:08:50 1.2
--- editbuf.h 2000/08/18 10:20:04
*************** struct edit_string {
*** 76,82 ****
};
struct edit_streambuf : public streambuf {
! friend edit_buffer;
edit_string *str;
edit_streambuf* next; // Chain of edit_streambuf's for a edit_buffer.
short _mode;
--- 76,82 ----
};
struct edit_streambuf : public streambuf {
! friend class edit_buffer;
edit_string *str;
edit_streambuf* next; // Chain of edit_streambuf's for a edit_buffer.
short _mode;