From: Alan Cox Date: Fri, 30 Jan 2015 00:22:10 +0000 (+0000) Subject: 6809: add used macro X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ef4dec96083fc46062064d70047f61fd29487e15;p=FUZIX.git 6809: add used macro --- diff --git a/Kernel/cpu-6809/cpu.h b/Kernel/cpu-6809/cpu.h index 29cbe743..92be5fa4 100644 --- a/Kernel/cpu-6809/cpu.h +++ b/Kernel/cpu-6809/cpu.h @@ -53,6 +53,9 @@ typedef union { /* this structure is endian dependent */ /* 6809 gcc already uses register calling whenever it can */ #define __fastcall__ +/* Sane behaviour for unused parameters */ +#define used(x) + #ifdef CONFIG_BANKED #define CODE1 __attribute__((far("1"))) #define CODE2 __attribute__((far("2")))