From fde330cd59e725b01e110c788b503f33ca959274 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 30 Jan 2015 00:21:13 +0000 Subject: [PATCH] cpu-6502: introduce used() macro So we can tidy up all the unused argument warnings --- Kernel/cpu-6502/cpu.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.34.1