summaryrefslogtreecommitdiff
path: root/gcc/gen-protos.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-03 16:28:33 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-03 16:28:33 +0000
commit29fd0b7ab06e56732fcefa586b6e08937fc02633 (patch)
tree55795b9bbaaf83eb846e7535a9776f7e8e633c25 /gcc/gen-protos.c
parent01ce7a1b4676cbabb411defe964313048ee6c8fd (diff)
downloadgcc-29fd0b7ab06e56732fcefa586b6e08937fc02633.tar.gz
* cpplib.c (if_directive_nameo): Add static prototype.
* cse.c (cse_insn): Remove unused variable `p'. * except.c (create_rethrow_ref, push_entry, receive_exception_label, new_eh_region_entry, find_func_region, clear_function_eh_region, process_nestinfo): Add static prototypes. (get_reg_for_handler): Hide definition. (process_nestinfo): Initialize variable `extra_handlers'. * expr.h (expand_builtin_longjmp): Add extern prototype. * final.c (final_addr_vec_align, align_fuzz): Add static prototypes. * function.c (prepare_function_start): Likewise. (pop_function_context_from): Mark parameter `context' with ATTRIBUTE_UNUSED. (push_temp_slots_for_block, flush_addressof): Hide definition. * gcov.c (init_arc, reverse_arcs, create_program_flow_graph, solve_program_flow_graph, calculate_branch_probs, function_summary, main, fancy_abort): Add prototypes. * gen-protos.c (add_hash, parse_fn_proto, main): Likewise. (add_hash): Constify a char*. * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr, ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr, ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes. * integrate.c (expand_inline_function_eh_labelmap): Likewise. * lists.c (free_list, zap_lists): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29783 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gen-protos.c')
-rw-r--r--gcc/gen-protos.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/gen-protos.c b/gcc/gen-protos.c
index 5c1f51c4cbe..497196269ab 100644
--- a/gcc/gen-protos.c
+++ b/gcc/gen-protos.c
@@ -25,13 +25,16 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
int verbose = 0;
const char *progname;
+static void add_hash PARAMS ((const char *));
+static int parse_fn_proto PARAMS ((char *, char *, struct fn_decl *));
+
#define HASH_SIZE 2503 /* a prime */
int hash_tab[HASH_SIZE];
int next_index;
static void
add_hash (fname)
- char *fname;
+ const char *fname;
{
int i, i0;
@@ -124,6 +127,8 @@ parse_fn_proto (start, end, fn)
return 1;
}
+extern int main PARAMS ((int, char **));
+
int
main (argc, argv)
int argc ATTRIBUTE_UNUSED;