1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-04-27 12:49:29 +00:00

fix some compiler warnings (#423)

* Pedantic C compilers want an extern declaration separate from initialization

* Remove duplicate definitions for fns in initdspdefs.h from display.h

* Remove misleading comments on structure member offsets and reorder to minimize padding
This commit is contained in:
Nick Briggs
2022-07-20 10:18:59 -07:00
committed by GitHub
parent e81345218a
commit 77957d421a
6 changed files with 30 additions and 36 deletions

View File

@@ -74,13 +74,4 @@ extern DLword *DisplayRegion68k;
#undef DISPLAYBUFFER
#endif /* XWINDOW */
void flush_display_buffer();
void flush_display_lineregion(UNSIGNED x, DLword *ybase, UNSIGNED w, UNSIGNED h);
void flush_display_region(int x, int y, int w, int h);
void flush_display_ptrregion(DLword *ybase, UNSIGNED bitoffset, UNSIGNED w, UNSIGNED h);
#ifdef BYTESWAP
void byte_swapped_displayregion(int x, int y, int w, int h);
#endif
#endif