* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56209
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
/* Called by OVERRIDE_OPTIONS to initialize various things. */
void
-arc_init (void)
+arc_init ()
{
char *tmp;
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
}
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;
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;
that starts with the character 'c'. */
static int
-arm_get_strip_length (char c)
+arm_get_strip_length (c)
+ int c;
{
switch (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;
#define EXTRA_SECTION_FUNCTIONS \
\
void \
-progmem_section (void) \
+progmem_section () \
{ \
if (in_section != in_progmem) \
{ \
}
static unsigned int
-h8300_asm_insn_count (const char *template)
+h8300_asm_insn_count (template)
+ const char *template;
{
unsigned int count = 1;
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));
\f
/* Initialize the GCC target structure. */
#undef TARGET_ATTRIBUTE_TABLE
static tree large_ident2;
static void
-init_idents PARAMS ((void))
+init_idents ()
{
if (small_ident1 == 0)
{
/* 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;
#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);
}
int
-sh_cfun_interrupt_handler_p (void)
+sh_cfun_interrupt_handler_p ()
{
return (lookup_attribute ("interrupt_handler",
DECL_ATTRIBUTES (current_function_decl))
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;