diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-16 22:02:09 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-16 22:02:09 +0000 |
commit | c86dbc5b5758a0e795c7a25570d27b862c96f3e3 (patch) | |
tree | c0452482f8196e8f1922c3e67ab111a544d838e0 /gcc/fix-header.c | |
parent | 614e0ab75213eed9ba31cf0752fbdbfba7e0f17a (diff) | |
download | gcc-c86dbc5b5758a0e795c7a25570d27b862c96f3e3.tar.gz |
* cppexp.c (lex): Use NODE_NAME and NODE_LEN.
* cpphash.c (_cpp_lookup_with_hash): Similarly.
* cpplex.c (cpp_ideq, parse_identifier, cpp_token_len,
cpp_spell_token, cpp_output_token): Similarly.
* cpplib.c (lex_macro_node, do_undef, do_pragma,
do_pragma_poison, parse_assertion, do_assert): Similarly.
* cppmacro.c (builtin_macro, parse_args, funlike_invocation_p,
save_parameter, _cpp_create_definition, check_trad_stringification,
cpp_macro_definition): Similarly.
* cppmain.c (cb_define, cb_undef, dump_macro): Similarly.
* c-lex.c (cb_undef, c_lex): Similarly.
* fix-header.c (recognized_function): Similarly.
* cpplib.h (NODE_LEN, NODE_NAME): New.
(cpp_hashnode): Rename length len.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42174 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r-- | gcc/fix-header.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c index 380fe860195..d2e7f788a34 100644 --- a/gcc/fix-header.c +++ b/gcc/fix-header.c @@ -532,8 +532,8 @@ recognized_function (fname, line, kind, have_arg_list) missing_extern_C_count++; #endif - fn = lookup_std_proto ((const char *)fname->val.node->name, - fname->val.node->length); + fn = lookup_std_proto ((const char *) NODE_NAME (fname->val.node), + NODE_LEN (fname->val.node)); /* Remove the function from the list of required function. */ if (fn) |