mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
bsps/mips/jmr3904: 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
ab125bc118
commit
75ac5826f1
@@ -99,6 +99,8 @@ void console_outbyte_polled(
|
||||
char ch
|
||||
)
|
||||
{
|
||||
(void) port;
|
||||
|
||||
unsigned short disr;
|
||||
|
||||
for (;;) {
|
||||
@@ -121,6 +123,8 @@ int console_inbyte_nonblocking(
|
||||
int port
|
||||
)
|
||||
{
|
||||
(void) port;
|
||||
|
||||
unsigned char c;
|
||||
unsigned short disr;
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@
|
||||
|
||||
void mips_vector_isr_handlers( CPU_Interrupt_frame *frame )
|
||||
{
|
||||
(void) frame;
|
||||
|
||||
unsigned int sr;
|
||||
unsigned int cause;
|
||||
|
||||
|
||||
@@ -73,6 +73,8 @@ void bsp_start( void )
|
||||
*/
|
||||
void clear_cache( void *address, size_t n )
|
||||
{
|
||||
(void) address;
|
||||
(void) n;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user