ps2: make ps2_raise_irq() function static

This function is no longer used outside of ps2.c and so can be declared static.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Helge Deller <deller@gmx.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20220624134109.881989-32-mark.cave-ayland@ilande.co.uk>
master
Mark Cave-Ayland 2022-06-24 14:40:46 +01:00
parent 488d1537a1
commit 52b28f76dd
2 changed files with 1 additions and 2 deletions

View File

@ -172,7 +172,7 @@ void ps2_queue_noirq(PS2State *s, int b)
q->count++;
}
void ps2_raise_irq(PS2State *s)
static void ps2_raise_irq(PS2State *s)
{
s->update_irq(s->update_arg, 1);
}

View File

@ -102,7 +102,6 @@ void ps2_write_mouse(PS2MouseState *s, int val);
void ps2_write_keyboard(PS2KbdState *s, int val);
uint32_t ps2_read_data(PS2State *s);
void ps2_queue_noirq(PS2State *s, int b);
void ps2_raise_irq(PS2State *s);
void ps2_queue(PS2State *s, int b);
void ps2_queue_2(PS2State *s, int b1, int b2);
void ps2_queue_3(PS2State *s, int b1, int b2, int b3);