summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2013-10-11 17:38:31 +0000
committerRoland McGrath <roland@gnu.org>2013-10-11 17:38:31 +0000
commite3db3cf75948e491fd7c03415b5612a1e2fa88cd (patch)
treeae5839e61dcb32cc5c2a9856624df075622e326e
parent59aedc0d77fc1844ec1bcee05a639acc0e0b2ab4 (diff)
downloadbinutils-redhat-e3db3cf75948e491fd7c03415b5612a1e2fa88cd.tar.gz
gold/
* archive.h: Use struct rather than class for forward declaration of Read_symbols_data.
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/archive.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index dbce05cfc8..9949b9847c 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-11 Roland McGrath <mcgrathr@google.com>
+
+ * archive.h: Use struct rather than class for forward declaration
+ of Read_symbols_data.
+
2013-10-07 Cary Coutant <ccoutant@google.com>
PR gold/16010
diff --git a/gold/archive.h b/gold/archive.h
index e73a687e2c..a47b423de3 100644
--- a/gold/archive.h
+++ b/gold/archive.h
@@ -1,6 +1,6 @@
// archive.h -- archive support for gold -*- C++ -*-
-// Copyright 2006, 2007, 2008, 2010, 2011 Free Software Foundation, Inc.
+// Copyright 2006, 2007, 2008, 2010, 2011, 2013 Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
@@ -40,7 +40,7 @@ class Input_group;
class Layout;
class Symbol_table;
class Object;
-class Read_symbols_data;
+struct Read_symbols_data;
class Input_file_lib;
class Incremental_archive_entry;