From 950a3816a7e54f132d34e5458474db5465b917ca Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sun, 11 Nov 2001 21:20:03 +0000 Subject: alpha.c (unicosmk_special_name): Prototype. * alpha.c (unicosmk_special_name): Prototype. (unicosmk_ssib_name): Delete unused variable. * alpha/unicosmk.h (common_section, ssib_section): Prototype. * alpha/vms.h (PREFIX): Undef before defining. * arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise. * i370/i370.c (mvs_hash_alias): Prototype. Wrap with macro controlling usage. Const-ify. (alias_number): Delete unused variable. * m32r/m32r.c (m32r_sched_init): Add missing argument. (m32r_expand_block_move): Fix uninitialized warnings. * mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is always true' warnings. * openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine. * sh/sh.c: Include "integrate.h". (output_far_jump): Fix uninitialized warning. * final.c (shorten_branches): Avoid automatic aggregate initialization. * integrate.c (subst_constants): Likewise. From-SVN: r46932 --- gcc/config/i370/i370.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gcc/config/i370') diff --git a/gcc/config/i370/i370.c b/gcc/config/i370/i370.c index bbdcfa6..16dc9a9 100644 --- a/gcc/config/i370/i370.c +++ b/gcc/config/i370/i370.c @@ -101,6 +101,9 @@ static label_node_t * mvs_get_label PARAMS ((int)); static void i370_label_scan PARAMS ((void)); static void i370_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT)); static void i370_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT)); +#ifdef LONGEXTERNAL +static int mvs_hash_alias PARAMS ((const char *)); +#endif /* ===================================================== */ /* defines and functions specific to the HLASM assembler */ @@ -135,9 +138,6 @@ alias_node_t; /* Alias node list anchor. */ static alias_node_t *alias_anchor = 0; -/* Alias number */ -static int alias_number = 0; - /* Define the length of the internal MVS function table. */ #define MVS_FUNCTION_TABLE_LENGTH 32 @@ -851,9 +851,10 @@ mvs_function_check (name) /* Generate a hash for a given key. */ +#ifdef LONGEXTERNAL static int mvs_hash_alias (key) - char *key; + const char *key; { int h; int i; @@ -864,7 +865,7 @@ mvs_hash_alias (key) h = ((h * MVS_SET_SIZE) + key[i]) % MVS_HASH_PRIME; return (h); } - +#endif /* Add the alias to the current alias list. */ -- cgit v1.1