mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-17 00:22:59 +00:00
fix warning: a function declaration without a prototype is deprecated in all versions of C
This commit is contained in:
parent
a3ba41fba2
commit
9ab1215fc8
@ -100,7 +100,7 @@ extern DLword *DisplayRegion68k;
|
||||
|
||||
#pragma interrupt(Kbd_event)
|
||||
|
||||
void Kbd_event() {
|
||||
void Kbd_event(void) {
|
||||
_XSTACK *ebp; /* Real-mode handler stack frame */
|
||||
DLword w, r;
|
||||
KBEVENT *kbevent;
|
||||
|
||||
@ -20,10 +20,10 @@ KbdInterfaceRec curkbd;
|
||||
KbdInterface currentkbd = &curkbd;
|
||||
|
||||
#ifdef DOS
|
||||
extern void Kbd_event();
|
||||
extern void EnterDosKbd();
|
||||
extern void ExitDosKbd();
|
||||
extern unsigned long GenericReturnT();
|
||||
extern void Kbd_event(void);
|
||||
extern void EnterDosKbd(void);
|
||||
extern void ExitDosKbd(void);
|
||||
extern unsigned long GenericReturnT(void);
|
||||
#endif /* DOS */
|
||||
|
||||
void make_kbd_instance(KbdInterface kbd) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user