diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 16 | ||||
-rw-r--r-- | gcc/c-common.h | 5 | ||||
-rw-r--r-- | gcc/c-lex.h | 1 | ||||
-rw-r--r-- | gcc/c-tree.h | 23 | ||||
-rw-r--r-- | gcc/expr.h | 1 |
5 files changed, 16 insertions, 30 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d08e6c7..3873a00 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,19 @@ +2001-04-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * c-common.h (truthvalue_conversion, type_for_mode, + type_for_size): Delete redundant declarations. + + * c-lex.h (is_class_name): Likewise. + + * c-tree.h (pedantic, convert, getdecls, gettags, + global_bindings_p, init_decl_processing, insert_block, + maybe_build_cleanup, poplevel, print_lang_decl, + print_lang_identifier, print_lang_type, pushdecl, pushlevel, + set_block, incomplete_type_error, build_function_call, + lvalue_or_else, mark_addressable): Likewise. + + * expr.h (expand_tree_builtin): Likewise. + 2001-04-12 Mark Mitchell <mark@codesourcery.com> * invoke.texi: Document --param max-gcse-memory. diff --git a/gcc/c-common.h b/gcc/c-common.h index acc23e4..fbdf157 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -514,11 +514,6 @@ extern char *get_directive_line PARAMS ((void)); See if the operands have both been converted from subword integer types and, if so, perhaps change them both back to their original type. */ extern tree shorten_compare PARAMS ((tree *, tree *, tree *, enum tree_code *)); -/* Prepare expr to be an argument of a TRUTH_NOT_EXPR, - or validate its data type for an `if' or `while' statement or ?..: exp. */ -extern tree truthvalue_conversion PARAMS ((tree)); -extern tree type_for_mode PARAMS ((enum machine_mode, int)); -extern tree type_for_size PARAMS ((unsigned, int)); extern unsigned int min_precision PARAMS ((tree, int)); diff --git a/gcc/c-lex.h b/gcc/c-lex.h index bd25a16..4856d07 100644 --- a/gcc/c-lex.h +++ b/gcc/c-lex.h @@ -30,7 +30,6 @@ extern const char *init_c_lex PARAMS ((const char *)); extern void save_and_forget_protocol_qualifiers PARAMS ((void)); extern void forget_protocol_qualifiers PARAMS ((void)); extern void remember_protocol_qualifiers PARAMS ((void)); -extern tree is_class_name PARAMS ((tree)); extern int indent_level; diff --git a/gcc/c-tree.h b/gcc/c-tree.h index 45ed4de..16ab7ad 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -83,9 +83,6 @@ struct lang_decl TREE_USED to record that such a decl was used. TREE_ADDRESSABLE to record that the address of such a decl was used. */ -/* Nonzero means reject anything that ANSI standard C forbids. */ -extern int pedantic; - /* In a RECORD_TYPE or UNION_TYPE, nonzero if any component is read-only. */ #define C_TYPE_FIELDS_READONLY(type) TREE_LANG_FLAG_1 (type) @@ -158,9 +155,6 @@ extern int yyparse_1 PARAMS ((void)); /* in c-aux-info.c */ extern void gen_aux_info_record PARAMS ((tree, int, int, int)); -/* in c-convert.c */ -extern tree convert PARAMS ((tree, tree)); - /* in c-decl.c */ extern tree build_enumerator PARAMS ((tree, tree)); @@ -185,41 +179,28 @@ extern tree finish_enum PARAMS ((tree, tree, tree)); extern void finish_function PARAMS ((int)); extern tree finish_struct PARAMS ((tree, tree, tree)); extern tree get_parm_info PARAMS ((int)); -extern tree getdecls PARAMS ((void)); -extern tree gettags PARAMS ((void)); -extern int global_bindings_p PARAMS ((void)); extern tree grokfield PARAMS ((const char *, int, tree, tree, tree)); extern tree groktypename PARAMS ((tree)); extern tree groktypename_in_parm_context PARAMS ((tree)); extern tree implicitly_declare PARAMS ((tree)); extern void implicit_decl_warning PARAMS ((tree)); extern int in_parm_level_p PARAMS ((void)); -extern void init_decl_processing PARAMS ((void)); -extern void insert_block PARAMS ((tree)); extern void keep_next_level PARAMS ((void)); extern int kept_level_p PARAMS ((void)); extern tree lookup_label PARAMS ((tree)); extern tree lookup_name PARAMS ((tree)); extern tree lookup_name_current_level PARAMS ((tree)); extern tree lookup_name_current_level_global PARAMS ((tree)); -extern tree maybe_build_cleanup PARAMS ((tree)); extern void parmlist_tags_warning PARAMS ((void)); extern void pending_xref_error PARAMS ((void)); extern void mark_c_function_context PARAMS ((struct function *)); extern void push_c_function_context PARAMS ((struct function *)); extern void pop_c_function_context PARAMS ((struct function *)); extern void pop_label_level PARAMS ((void)); -extern tree poplevel PARAMS ((int, int, int)); -extern void print_lang_decl PARAMS ((FILE *, tree, int)); -extern void print_lang_identifier PARAMS ((FILE *, tree, int)); -extern void print_lang_type PARAMS ((FILE *, tree, int)); extern void push_label_level PARAMS ((void)); extern void push_parm_decl PARAMS ((tree)); -extern tree pushdecl PARAMS ((tree)); extern tree pushdecl_top_level PARAMS ((tree)); -extern void pushlevel PARAMS ((int)); extern void pushtag PARAMS ((tree, tree)); -extern void set_block PARAMS ((tree)); extern tree shadow_label PARAMS ((tree)); extern void shadow_record_fields PARAMS ((tree)); extern void shadow_tag PARAMS ((tree)); @@ -237,7 +218,6 @@ extern void c_expand_decl_stmt PARAMS ((tree)); /* in c-typeck.c */ extern tree require_complete_type PARAMS ((tree)); -extern void incomplete_type_error PARAMS ((tree, tree)); extern int comptypes PARAMS ((tree, tree)); extern tree c_sizeof PARAMS ((tree)); extern tree c_sizeof_nowarn PARAMS ((tree)); @@ -248,12 +228,9 @@ extern tree build_component_ref PARAMS ((tree, tree)); extern tree build_indirect_ref PARAMS ((tree, const char *)); extern tree build_array_ref PARAMS ((tree, tree)); extern tree build_external_ref PARAMS ((tree, int)); -extern tree build_function_call PARAMS ((tree, tree)); extern tree parser_build_binary_op PARAMS ((enum tree_code, tree, tree)); -extern int lvalue_or_else PARAMS ((tree, const char *)); extern void readonly_warning PARAMS ((tree, const char *)); -extern int mark_addressable PARAMS ((tree)); extern tree build_conditional_expr PARAMS ((tree, tree, tree)); extern tree build_compound_expr PARAMS ((tree)); extern tree build_c_cast PARAMS ((tree, tree)); @@ -902,7 +902,6 @@ extern rtx gen_cond_trap PARAMS ((enum rtx_code, rtx, rtx, rtx)); /* Functions from builtins.c: */ #ifdef TREE_CODE extern rtx expand_builtin PARAMS ((tree, rtx, rtx, enum machine_mode, int)); -extern tree expand_tree_builtin PARAMS ((tree, tree, tree)); extern void std_expand_builtin_va_start PARAMS ((int, tree, rtx)); extern rtx std_expand_builtin_va_arg PARAMS ((tree, tree)); extern rtx expand_builtin_va_arg PARAMS ((tree, tree)); |