summaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authortbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-19 02:48:16 +0000
committertbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-19 02:48:16 +0000
commitdf8eb49017050558f1a9dfdff06561824ac545ff (patch)
tree635f05175292691ee1ddfb5191b1bbd36cff2ce7 /gcc/cgraph.h
parentbce840812c3521aa95533e350f6f19ae5e93efd9 (diff)
downloadgcc-df8eb49017050558f1a9dfdff06561824ac545ff.tar.gz
remove useless typedefs
gcc/ChangeLog: 2015-08-11 trevor Saunders <tbsaunde@tbsaunde.org> * bt-load.c, cgraph.h, dwarf2out.c, dwarf2out.h, final.c, function.c, graphite-scop-detection.c, haifa-sched.c, ipa-devirt.c, ipa-split.c, recog.c, ree.c, stmt.c, tree-data-ref.c, tree-ssa-dom.c, tree-ssa-loop-ivopts.c, varasm.c: Remove typedefs of structs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227000 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 9476896e759..6607b1127c2 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -39,7 +39,7 @@ enum symtab_type
/* Section names are stored as reference counted strings in GGC safe hashtable
(to make them survive through PCH). */
-struct GTY((for_user)) section_hash_entry_d
+struct GTY((for_user)) section_hash_entry
{
int ref_count;
char *name; /* As long as this datastructure stays in GGC, we can not put
@@ -47,8 +47,6 @@ struct GTY((for_user)) section_hash_entry_d
way */
};
-typedef struct section_hash_entry_d section_hash_entry;
-
struct section_name_hasher : ggc_ptr_hash<section_hash_entry>
{
typedef const char *compare_type;