1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-18 09:02:39 +00:00
Nick Briggs 80c9c796c5 Address "warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x"
* Update struct DevRec methods to take a "void *" parameter
   since they get called with different xxxInterface records
   depending on whether they are a keyboard, mouse, or display.
   Introduce GenericReturnVoid method implementation for use
   where needed with DevRec methods. (see mouseif.c)

 * Cast functions implementing DevRec methods as appropriate to match
   the method signature.

 * Update struct DspInterfaceRec methods cleardisplay,
   bitblt_to_screen, mouse_invisible, and mouse_visible to declare
   the parameters they require and all return unsigned long results
   (though it's not clear that this is actually the correct type).
   Requires updating dosmouse.c method implementations.

 * Update GenericReturnT and GenericPanic method implementations
   to have the signature required by the method slots they
   are used in.

 * Correct DOS-only section with incorrect arguments to device.exit
   call for the mouse.

 * Use include "dspifdefs.h" for prototypes for GenericReturnXXX method
   implementations.
2023-02-17 17:01:27 -08:00
..
2022-10-11 14:21:55 -07:00
2022-08-15 16:19:38 -07:00
2021-01-05 10:26:02 -08:00
2022-08-15 16:19:38 -07:00
2021-11-26 19:53:26 -08:00
2021-09-15 10:30:04 -07:00
2021-02-10 20:33:54 -08:00
2022-08-14 11:44:27 -07:00
2022-10-11 14:21:55 -07:00
2020-12-21 18:09:14 +00:00
2021-07-08 15:18:41 -07:00
2021-02-22 09:44:43 -08:00