mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-14 23:46:14 +00:00
fix warning: a function declaration without a prototype is deprecated in all versions of C
This commit is contained in:
parent
bae09d8eba
commit
39a716ace8
16
src/dspif.c
16
src/dspif.c
@ -32,6 +32,13 @@ extern unsigned LispDisplayRequestedHeight;
|
||||
|
||||
#ifdef DOS
|
||||
extern int dosdisplaymode;
|
||||
|
||||
static VESA_p(void) {
|
||||
/* Magic. Do a vesa call to determine the current mode. */
|
||||
return (VESA_call(3, 0));
|
||||
}
|
||||
|
||||
static VGA_p(void) { return (TRUE); }
|
||||
#endif /* DOS */
|
||||
|
||||
void make_dsp_instance(DspInterface dsp, char *lispbitmap, int width_hint, int height_hint,
|
||||
@ -68,15 +75,6 @@ void make_dsp_instance(DspInterface dsp, char *lispbitmap, int width_hint, int h
|
||||
#endif /* DOS | XWINDOW */
|
||||
} /* Now we know the maximum capabilities of the hardware. */
|
||||
|
||||
#ifdef DOS
|
||||
VESA_p() {
|
||||
/* Magic. Do a vesa call to determine the current mode. */
|
||||
return (VESA_call(3, 0));
|
||||
}
|
||||
|
||||
VGA_p() { return (TRUE); }
|
||||
#endif /* DOS */
|
||||
|
||||
/*********************************************************************/
|
||||
/* */
|
||||
/* G e n e r i c R e t u r n T */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user