]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/include/cpplib.h
Various cleanups to help compile server.
authorPer Bothner <pbothner@apple.com>
Thu, 20 Mar 2003 16:46:18 +0000 (16:46 +0000)
committerPer Bothner <bothner@gcc.gnu.org>
Thu, 20 Mar 2003 16:46:18 +0000 (08:46 -0800)
commitb4e46cea24515316b941bfacae8417c078fc5701
treecff696dfa377a0cf3e735f28e287645b12baeba7
parent8826ff0fcd12a506e2e91df9e4cae05747b88f13
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.

From-SVN: r64617
gcc/ChangeLog
gcc/c-opts.c
gcc/cppfiles.c
gcc/cppinit.c
gcc/cpplib.h
gcc/fix-header.c