]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cppinit.c
Various cleanups to help compile server.
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Mar 2003 16:46:18 +0000 (16:46 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Mar 2003 16:46:18 +0000 (16:46 +0000)
commit568139e45314dddea8e1d218ea3d61b1235a5b8d
treecff696dfa377a0cf3e735f28e287645b12baeba7
parente9f0d687a15f6a1864fdf1a3773486e376417233
Various cleanups to help compile server.

* cppinit.c (cpp_create_reader):  Take extra hash_table* argument,
and pass that to _cpp_init_hashtable.
(cpp_read_main_file):  Drop hash_table* argument; don't call
_cpp_init_hashtable.
* cpplib.h:  Update declarations to match.
* c-opts.c (c_common_init_options):  Pass ident_hash to
cpp_create_reader.
(c_common_post_options):  Don't pass ident_hash to cpp_read_main_file.
* fix-header.c (read_scan_file):  Likewise pass NULL table to
cpp_create_reader rather than cpp_read_main_file.

* cppfiles.c (cpp_rename_file):  Generalized and renamed
to cpp_change_file.
* cpplib.h:  Update declaration to match.
* c-opts.c (push_command_line_line, finish_options):  Change
cpp_rename_file calls to cpp_change_file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64617 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-opts.c
gcc/cppfiles.c
gcc/cppinit.c
gcc/cpplib.h
gcc/fix-header.c