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:
Joel Sherrill
2025-10-10 14:01:42 -05:00
committed by Gedare Bloom
parent 44b86391e1
commit a0028bdf4a
2 changed files with 6 additions and 0 deletions

View File

@@ -38,6 +38,8 @@ static rtems_interrupt_entry timer_interrupt;
static rtems_isr timerisr(void *vector)
{
(void) vector;
TIMER_REGS->status = 0;
Timer_interrupts++;
}

View File

@@ -57,6 +57,8 @@ int console_inbyte_nonblocking(
int port
)
{
(void) port;
char ch;
/*
@@ -75,6 +77,8 @@ void console_outbyte_polled(
char ch
)
{
(void) port;
altera_avalon_jtag_uart_regs *ajur = NIOS2_IO_BASE(JTAG_UART_BASE);
/*