From: Alan Cox Date: Fri, 30 Jan 2015 00:21:38 +0000 (+0000) Subject: cpu-z80: introduce used() macro X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=85f6d041a2afe82e9f6bf21b694c5dd057a14836;p=FUZIX.git cpu-z80: introduce used() macro SDCC wants the reverse behaviour to everyone else --- diff --git a/Kernel/cpu-z80/cpu.h b/Kernel/cpu-z80/cpu.h index 8cab8619..2d41d264 100644 --- a/Kernel/cpu-z80/cpu.h +++ b/Kernel/cpu-z80/cpu.h @@ -59,6 +59,8 @@ typedef union { /* this structure is endian dependent */ #define VIDEO #define DISCARD +/* SDCC is arsy about unused parameters */ +#define used(x) x /* No fastcall in SDCC */ #define __fastcall__