diff options
-rw-r--r-- | c/src/lib/libbsp/sh/shsim/trap34/console-io.c | 2 | ||||
-rw-r--r-- | c/src/lib/libcpu/sh/sh7032/timer/timer.c | 2 | ||||
-rw-r--r-- | c/src/lib/libcpu/sh/sh7045/timer/timer.c | 2 | ||||
-rw-r--r-- | c/src/lib/libcpu/sh/sh7750/timer/timer.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/sh/shsim/trap34/console-io.c b/c/src/lib/libbsp/sh/shsim/trap34/console-io.c index a88c273be4..d968323b1b 100644 --- a/c/src/lib/libbsp/sh/shsim/trap34/console-io.c +++ b/c/src/lib/libbsp/sh/shsim/trap34/console-io.c @@ -70,7 +70,7 @@ int console_inbyte_nonblocking( } /* XXX wrong place for this */ -_sys_exit (n) +int _sys_exit (int n) { return __trap34 (SYS_exit, n, 0, 0); } diff --git a/c/src/lib/libcpu/sh/sh7032/timer/timer.c b/c/src/lib/libcpu/sh/sh7032/timer/timer.c index 3fb5151457..a576bc1ded 100644 --- a/c/src/lib/libcpu/sh/sh7032/timer/timer.c +++ b/c/src/lib/libcpu/sh/sh7032/timer/timer.c @@ -64,7 +64,7 @@ extern uint32_t bsp_clicks_per_second; #define ITU1_VECTOR OVI1_ISP_V -rtems_isr timerisr(); +extern rtems_isr timerisr(void); static uint32_t Timer_interrupts; diff --git a/c/src/lib/libcpu/sh/sh7045/timer/timer.c b/c/src/lib/libcpu/sh/sh7045/timer/timer.c index 0ed7f19da8..033fba8223 100644 --- a/c/src/lib/libcpu/sh/sh7045/timer/timer.c +++ b/c/src/lib/libcpu/sh/sh7045/timer/timer.c @@ -55,7 +55,7 @@ extern uint32_t bsp_clicks_per_second; #define MTU1_VECTOR 86 -rtems_isr timerisr(); +extern rtems_isr timerisr(void); static uint32_t Timer_interrupts; diff --git a/c/src/lib/libcpu/sh/sh7750/timer/timer.c b/c/src/lib/libcpu/sh/sh7750/timer/timer.c index 8611bdb4fc..9d4ff5cfb8 100644 --- a/c/src/lib/libcpu/sh/sh7750/timer/timer.c +++ b/c/src/lib/libcpu/sh/sh7750/timer/timer.c @@ -39,7 +39,7 @@ extern uint32_t bsp_clicks_per_second; #define TIMER_VECTOR SH7750_EVT_TO_NUM(SH7750_EVT_TUNI1) -rtems_isr timerisr(); +extern rtems_isr timerisr(void); static uint32_t Timer_interrupts; |