mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
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>
This commit is contained in:
parent
488d1537a1
commit
52b28f76dd
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user