mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
bsps/nios2: Address unused parameter warnings
Add "(void) param;" annotation to address unused parameter warnings. Found with GCC's warning -Wunused-parameter.
This commit is contained in:
committed by
Gedare Bloom
parent
44b86391e1
commit
a0028bdf4a
@@ -38,6 +38,8 @@ static rtems_interrupt_entry timer_interrupt;
|
|||||||
|
|
||||||
static rtems_isr timerisr(void *vector)
|
static rtems_isr timerisr(void *vector)
|
||||||
{
|
{
|
||||||
|
(void) vector;
|
||||||
|
|
||||||
TIMER_REGS->status = 0;
|
TIMER_REGS->status = 0;
|
||||||
Timer_interrupts++;
|
Timer_interrupts++;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,6 +57,8 @@ int console_inbyte_nonblocking(
|
|||||||
int port
|
int port
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
(void) port;
|
||||||
|
|
||||||
char ch;
|
char ch;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -75,6 +77,8 @@ void console_outbyte_polled(
|
|||||||
char ch
|
char ch
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
(void) port;
|
||||||
|
|
||||||
altera_avalon_jtag_uart_regs *ajur = NIOS2_IO_BASE(JTAG_UART_BASE);
|
altera_avalon_jtag_uart_regs *ajur = NIOS2_IO_BASE(JTAG_UART_BASE);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user