Commit f2206911 by Kelley Cook Committed by R. Kelley Cook

frv-protos.h: Update for C90.

2003-11-14  Kelley Cook  <kcook@gcc.gnu.org>

	* config/frv/frv-protos.h: Update for C90.
	* config/frv/frv.h: Likewise.
	* config/frv/frvbegin.c: Likewise.
	* config/frv/frv.c: Likewise.
	(frv_adjust_field_align): Delete unused variable.

From-SVN: r73613
parent 39e63627
2003-11-14 Kelley Cook <kcook@gcc.gnu.org>
* config/frv/frv-protos.h: Update for C90.
* config/frv/frv.h: Likewise.
* config/frv/frvbegin.c: Likewise.
* config/frv/frv.c: Likewise.
(frv_adjust_field_align): Delete unused variable.
2003-11-14 Geoffrey Keating <geoffk@apple.com> 2003-11-14 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/rs6000.md: Add 'DEFAULT_ABI == ABI_DARWIN' * config/rs6000/rs6000.md: Add 'DEFAULT_ABI == ABI_DARWIN'
......
...@@ -1885,7 +1885,7 @@ struct machine_function GTY(()) ...@@ -1885,7 +1885,7 @@ struct machine_function GTY(())
#define FUNCTION_ARG_PARTIAL_NREGS(CUM, MODE, TYPE, NAMED) \ #define FUNCTION_ARG_PARTIAL_NREGS(CUM, MODE, TYPE, NAMED) \
frv_function_arg_partial_nregs (&CUM, MODE, TYPE, NAMED) frv_function_arg_partial_nregs (&CUM, MODE, TYPE, NAMED)
/* extern int frv_function_arg_partial_nregs PARAMS ((CUMULATIVE_ARGS, int, Tree, int)); */ /* extern int frv_function_arg_partial_nregs (CUMULATIVE_ARGS, int, Tree, int); */
/* A C expression that indicates when an argument must be passed by reference. /* A C expression that indicates when an argument must be passed by reference.
If nonzero for an argument, a copy of that argument is made in memory and a If nonzero for an argument, a copy of that argument is made in memory and a
...@@ -2180,11 +2180,7 @@ struct machine_function GTY(()) ...@@ -2180,11 +2180,7 @@ struct machine_function GTY(())
extern int _write (int, const void *, unsigned); \ extern int _write (int, const void *, unsigned); \
\ \
void \ void \
__trampoline_setup (addr, size, fnaddr, sc) \ __trampoline_setup (short * addr, int size, int fnaddr, int sc) \
short * addr; \
int size; \
int fnaddr; \
int sc; \
{ \ { \
extern short __trampoline_template[]; \ extern short __trampoline_template[]; \
short * to = addr; \ short * to = addr; \
...@@ -2565,7 +2561,7 @@ __asm__("\n" \ ...@@ -2565,7 +2561,7 @@ __asm__("\n" \
#define SDATA_SECTION_FUNCTION \ #define SDATA_SECTION_FUNCTION \
void \ void \
sdata_section () \ sdata_section (void) \
{ \ { \
if (in_section != in_sdata) \ if (in_section != in_sdata) \
{ \ { \
...@@ -2576,7 +2572,7 @@ sdata_section () \ ...@@ -2576,7 +2572,7 @@ sdata_section () \
#define FIXUP_SECTION_FUNCTION \ #define FIXUP_SECTION_FUNCTION \
void \ void \
fixup_section () \ fixup_section (void) \
{ \ { \
if (in_section != in_fixup) \ if (in_section != in_fixup) \
{ \ { \
......
...@@ -110,7 +110,7 @@ __frv_deregister_eh (void) ...@@ -110,7 +110,7 @@ __frv_deregister_eh (void)
/* Run the global destructors */ /* Run the global destructors */
void void
__do_global_dtors () __do_global_dtors (void)
{ {
static func_ptr *p = __DTOR_LIST__ + 1; static func_ptr *p = __DTOR_LIST__ + 1;
while (*p) while (*p)
...@@ -122,7 +122,7 @@ __do_global_dtors () ...@@ -122,7 +122,7 @@ __do_global_dtors ()
/* Run the global constructors */ /* Run the global constructors */
void void
__do_global_ctors () __do_global_ctors (void)
{ {
unsigned long nptrs = (unsigned long) __CTOR_LIST__[0]; unsigned long nptrs = (unsigned long) __CTOR_LIST__[0];
unsigned i; unsigned i;
...@@ -145,7 +145,7 @@ __do_global_ctors () ...@@ -145,7 +145,7 @@ __do_global_ctors ()
to run __do_global_ctors, so we need not do anything here. */ to run __do_global_ctors, so we need not do anything here. */
void void
__main () __main (void)
{ {
/* Support recursive calls to `main': run initializers just once. */ /* Support recursive calls to `main': run initializers just once. */
static int initialized; static int initialized;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment