libio PATCH: fix bogus friend delaration
Gabriel Dos Reis
gdr@codesourcery.com
Fri Aug 18 03:24:00 GMT 2000
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;
More information about the Gcc-patches
mailing list