From: Alan Cox Date: Fri, 30 Jan 2015 00:21:13 +0000 (+0000) Subject: cpu-6502: introduce used() macro X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=fde330cd59e725b01e110c788b503f33ca959274;p=FUZIX.git cpu-6502: introduce used() macro So we can tidy up all the unused argument warnings --- diff --git a/Kernel/cpu-6502/cpu.h b/Kernel/cpu-6502/cpu.h index c8610660..39a3a682 100644 --- a/Kernel/cpu-6502/cpu.h +++ b/Kernel/cpu-6502/cpu.h @@ -50,6 +50,9 @@ typedef union { /* this structure is endian dependent */ } h; } ticks_t; +/* Sane behaviour for unused parameters */ +#define used(x) + /* We don't yet have bank attributes and banking for 6502 */ #define CODE1 #define CODE2