This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH v2 4/6] Remove symtab_node and const_symtab_node typedefs.


gcc/

	* ipa-ref.h (symtab_node): Remove typedef to pointer type, as it
	clashes with the preferred name for the base class.
	(const_symtab_node): Remove redundant typedef.
---
 gcc/ipa-ref.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/ipa-ref.h b/gcc/ipa-ref.h
index dc6e238..d5ea7ee 100644
--- a/gcc/ipa-ref.h
+++ b/gcc/ipa-ref.h
@@ -21,8 +21,6 @@ along with GCC; see the file COPYING3.  If not see
 struct cgraph_node;
 struct varpool_node;
 class symtab_node_base;
-typedef symtab_node_base *symtab_node;
-typedef const symtab_node_base *const_symtab_node;
 
 
 /* How the reference is done.  */
-- 
1.7.11.7


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]