diff options
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/jcf-io.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index cb06d83..edc2c55 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2015-06-25 Richard Sandiford <richard.sandiford@arm.com> + + * jcf-io.c (charstar_hash): Inherit from nofree_ptr_hash rather + than typed_noop_remove. Remove redudant typedefs. + 2015-06-17 Andrew MacLeod <amacleod@redhat.com> * boehm.c: Do not include input.h, line-map.h or is-a.h. diff --git a/gcc/java/jcf-io.c b/gcc/java/jcf-io.c index 8156927..91fe952 100644 --- a/gcc/java/jcf-io.c +++ b/gcc/java/jcf-io.c @@ -275,10 +275,8 @@ find_classfile (char *filename, JCF *jcf, const char *dep_name) /* Hash table helper. */ -struct charstar_hash : typed_noop_remove <char> +struct charstar_hash : nofree_ptr_hash <const char> { - typedef const char *value_type; - typedef const char *compare_type; static inline hashval_t hash (const char *candidate); static inline bool equal (const char *existing, const char *candidate); }; |