aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@merlin.codesourcery.com>2000-08-18 10:20:52 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2000-08-18 10:20:52 +0000
commitf5c979243f2ae42dd76f74a255b53366f3e376a7 (patch)
tree74c74763ff1d3fc9629b400647d5a12a04b2cfcf /libio
parentef42b1ddae67658cffd49979cf658121c77c374c (diff)
downloadgcc-f5c979243f2ae42dd76f74a255b53366f3e376a7.zip
gcc-f5c979243f2ae42dd76f74a255b53366f3e376a7.tar.gz
gcc-f5c979243f2ae42dd76f74a255b53366f3e376a7.tar.bz2
editbuf.h (edit_streambuf): Fix syntax error in friend-declaration.
* editbuf.h (edit_streambuf): Fix syntax error in friend-declaration. From-SVN: r35782
Diffstat (limited to 'libio')
-rw-r--r--libio/ChangeLog5
-rw-r--r--libio/editbuf.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/libio/ChangeLog b/libio/ChangeLog
index 8376dd7..dc57df0 100644
--- a/libio/ChangeLog
+++ b/libio/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-18 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
+
+ * editbuf.h (edit_streambuf): Fix syntax error in
+ friend-declaration.
+
2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
diff --git a/libio/editbuf.h b/libio/editbuf.h
index d15758f..c548133 100644
--- a/libio/editbuf.h
+++ b/libio/editbuf.h
@@ -76,7 +76,7 @@ struct edit_string {
};
struct edit_streambuf : public streambuf {
- friend edit_buffer;
+ friend class edit_buffer;
edit_string *str;
edit_streambuf* next; // Chain of edit_streambuf's for a edit_buffer.
short _mode;