arc.c (arc_init): Don't use ISO C style function definitions.

* arc.c (arc_init): Don't use ISO C style function definitions.
	* arm.c (count_insns_for_constant, thumb_far_jump_used_p,
	arm_get_strip_length, arm_strip_name_encoding): Likewise.
	* avr.h (progmem_section): Likewise.
	* h8300.c h8300_asm_insn_count): Likewise.
	* m32r.c (init_idents): Likewise.
	* s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
	* sh.c (sh_cfun_interrupt_handler_p): Likewise.
	* xtensa.c (xtensa_build_va_list): Likewise.

From-SVN: r56209
This commit is contained in:
Kaveh R. Ghazi 2002-08-11 18:48:52 +00:00 committed by Kaveh Ghazi
parent e65e6212f7
commit ab2877a39b
9 changed files with 33 additions and 12 deletions

View File

@ -1,3 +1,15 @@
2002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* arc.c (arc_init): Don't use ISO C style function definitions.
* arm.c (count_insns_for_constant, thumb_far_jump_used_p,
arm_get_strip_length, arm_strip_name_encoding): Likewise.
* avr.h (progmem_section): Likewise.
* h8300.c h8300_asm_insn_count): Likewise.
* m32r.c (init_idents): Likewise.
* s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
* sh.c (sh_cfun_interrupt_handler_p): Likewise.
* xtensa.c (xtensa_build_va_list): Likewise.
2002-08-11 Neil Booth <neil@daikokuya.co.uk>
* c-common.h (enum c_language_kind): Emphasize that clk_c is 0.

View File

@ -116,7 +116,7 @@ struct gcc_target targetm = TARGET_INITIALIZER;
/* Called by OVERRIDE_OPTIONS to initialize various things. */
void
arc_init (void)
arc_init ()
{
char *tmp;

View File

@ -115,6 +115,8 @@ static void thumb_output_function_prologue PARAMS ((FILE *, Hint));
static int arm_comp_type_attributes PARAMS ((tree, tree));
static void arm_set_default_type_attributes PARAMS ((tree));
static int arm_adjust_cost PARAMS ((rtx, rtx, rtx, int));
static int count_insns_for_constant PARAMS ((HOST_WIDE_INT, int));
static int arm_get_strip_length PARAMS ((int));
#ifdef OBJECT_FORMAT_ELF
static void arm_elf_asm_named_section PARAMS ((const char *, unsigned int));
#endif
@ -1068,7 +1070,9 @@ arm_split_constant (code, mode, val, target, source, subtargets)
}
static int
count_insns_for_constant (HOST_WIDE_INT remainder, int i)
count_insns_for_constant (remainder, i)
HOST_WIDE_INT remainder;
int i;
{
HOST_WIDE_INT temp1;
int num_insns = 0;
@ -9811,7 +9815,8 @@ thumb_shiftable_const (val)
or might contain a far jump. */
int
thumb_far_jump_used_p (int in_prologue)
thumb_far_jump_used_p (in_prologue)
int in_prologue;
{
rtx insn;
@ -10764,7 +10769,8 @@ thumb_reload_in_hi (operands)
that starts with the character 'c'. */
static int
arm_get_strip_length (char c)
arm_get_strip_length (c)
int c;
{
switch (c)
{
@ -10777,7 +10783,8 @@ arm_get_strip_length (char c)
and all prefix encodings stripped from it. */
const char *
arm_strip_name_encoding (const char * name)
arm_strip_name_encoding (name)
const char * name;
{
int skip;

View File

@ -1754,7 +1754,7 @@ do { \
#define EXTRA_SECTION_FUNCTIONS \
\
void \
progmem_section (void) \
progmem_section () \
{ \
if (in_section != in_progmem) \
{ \

View File

@ -2942,7 +2942,8 @@ output_a_shift (operands)
}
static unsigned int
h8300_asm_insn_count (const char *template)
h8300_asm_insn_count (template)
const char *template;
{
unsigned int count = 1;

View File

@ -77,6 +77,7 @@ static int m32r_issue_rate PARAMS ((void));
static void m32r_select_section PARAMS ((tree, int, unsigned HOST_WIDE_INT));
static void m32r_encode_section_info PARAMS ((tree, int));
static const char *m32r_strip_name_encoding PARAMS ((const char *));
static void init_idents PARAMS ((void));
/* Initialize the GCC target structure. */
#undef TARGET_ATTRIBUTE_TABLE
@ -271,7 +272,7 @@ static tree large_ident1;
static tree large_ident2;
static void
init_idents PARAMS ((void))
init_idents ()
{
if (small_ident1 == 0)
{

View File

@ -2401,7 +2401,7 @@ s390_adjust_priority (insn, priority)
/* Split all branches that exceed the maximum distance. */
static void
s390_split_branches (void)
s390_split_branches ()
{
rtx temp_reg = gen_rtx_REG (Pmode, RETURN_REGNUM);
rtx insn, pat, label, target, jump, tmp;
@ -2819,7 +2819,7 @@ int s390_pool_overflow = 0;
#define S390_POOL_CHUNK_MAX 0xe00
static void
s390_chunkify_pool (void)
s390_chunkify_pool ()
{
rtx base_reg = gen_rtx_REG (Pmode,
TARGET_64BIT? BASE_REGISTER : RETURN_REGNUM);

View File

@ -5757,7 +5757,7 @@ sh_handle_trap_exit_attribute (node, name, args, flags, no_add_attrs)
}
int
sh_cfun_interrupt_handler_p (void)
sh_cfun_interrupt_handler_p ()
{
return (lookup_attribute ("interrupt_handler",
DECL_ATTRIBUTES (current_function_decl))

View File

@ -2322,7 +2322,7 @@ xtensa_return_addr (count, frame)
argument word N for N >= 6. */
tree
xtensa_build_va_list (void)
xtensa_build_va_list ()
{
tree f_stk, f_reg, f_ndx, record, type_decl;