Amiga: header hygiene and palette-size constants

Add AMII_PALETTE_SIZE / AMIV_PALETTE_SIZE in amiconf.h to make the
actual populated portion of the init-map arrays explicit.  Drop the
redundant extern void exit() declaration.  Annotate Abort with
NORETURN in both amiconf.h and winproto.h; drop the duplicate Abort
declaration further down winproto.h.

Convert the bare-token "CLIPPING must be defined" assertion in
windefs.h into a real #error directive.

Comment in winext.h to disambiguate the three similarly named
amii*_init*map palette arrays.
This commit is contained in:
Ingo Paschke
2026-05-12 15:21:23 +02:00
parent ebcf31a4da
commit d99eeb17c2
4 changed files with 18 additions and 6 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
#include "func_tab.h"
#ifndef CLIPPING
CLIPPING must be defined for the AMIGA version
#error "CLIPPING must be defined for the AMIGA version"
#endif
#undef LI