gengtype.h (obstack_chunk_alloc, [...]): Remove cast.
authorAlan Modra <amodra@gcc.gnu.org>
Wed, 22 Oct 2014 01:41:31 +0000 (12:11 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Wed, 22 Oct 2014 01:41:31 +0000 (12:11 +1030)
commit19a9ba64e7895c9919b95cd446faa4922ebf284e
tree15ca88bb9e4b6c33745aa08e5b527654eacfd373
parent1fb38e450e2e3a01785db3a35e1b9851ca26ada7
gengtype.h (obstack_chunk_alloc, [...]): Remove cast.

gcc/
* gengtype.h (obstack_chunk_alloc, obstack_chunk_free): Remove cast.
* coretypes.h (obstack_chunk_alloc, obstack_chunk_free): Likewise.
(gcc_obstack_init): Use obstack_specify_allocation in place of
_obstack_begin.
* genautomata.c (next_sep_el): Cast result of obstack_base to (char *).
(regexp_representation): Likewise.
* godump.c (go_output_type): Likewise.
gcc/java/
* mangle.c (finish_mangling): Cast result of obstack_base to (char *).
* typeck.c (build_java_argument_signature): Likewise.
(build_java_signature): Likewise.
gcc/objc/
* objc-encoding.c (encode_array): Cast result of obstack_base.
(encode_type): Likewise.
libcpp/
* symtab.c (ht_create): Use obstack_specify_allocation in place of
_obstack_begin.
* files.c (_cpp_init_files): Likewise.
* init.c (cpp_create_reader): Likewise.
* identifiers.c (_cpp_init_hashtable): Likewise.

From-SVN: r216539
15 files changed:
gcc/ChangeLog
gcc/coretypes.h
gcc/genautomata.c
gcc/gengtype.h
gcc/godump.c
gcc/java/ChangeLog
gcc/java/mangle.c
gcc/java/typeck.c
gcc/objc/ChangeLog
gcc/objc/objc-encoding.c
libcpp/ChangeLog
libcpp/files.c
libcpp/identifiers.c
libcpp/init.c
libcpp/symtab.c