From 51cae2af8d5877de38b6ea900d9aeec52bdeca58 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Tue, 13 Dec 2022 12:24:45 -0800 Subject: [PATCH] fix warning: a function declaration without a prototype is deprecated in all versions of C --- src/dosmouse.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dosmouse.c b/src/dosmouse.c index 37a0f75..1fac6e5 100644 --- a/src/dosmouse.c +++ b/src/dosmouse.c @@ -52,8 +52,8 @@ extern LispPTR *LASTUSERACTION68k; #pragma interrupt(TwoButtonHandler) #pragma interrupt(ThreeButtonHandler) #pragma interrupt(ButtonTimer) -void ButtonTimer(); -void MouseButtonSignal(); +void ButtonTimer(void); +void MouseButtonSignal(void); void EnterDosMouse(MouseInterface mouse, DspInterface dsp) { @@ -421,7 +421,7 @@ void MouseButtonSignal(MouseInterface mouse) /* timeout happens. We will thus obtain the ``rubbery feeling''*/ /* that proponents of chording so desire. */ /***************************************************************/ -void ButtonTimer() { +void ButtonTimer(void) { if (currentmouse->Button.RunTimer) if (currentmouse->Button.tick-- <= 0) { currentmouse->Button.RunTimer = FALSE; /* Turn the timer off. */ @@ -589,7 +589,7 @@ void TwoButtonHandler(void) { /* signals the dispatch loop to take care of the matter. This */ /* awkward solution is due to the severe braindamage in DOS. */ /***************************************************************/ -void ThreeButtonHandler() +void ThreeButtonHandler(void) { _XSTACK *stk_ptr;