diff options
author | Simon Horman <horms@verge.net.au> | 2010-02-02 14:42:02 +1100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2010-02-02 14:42:02 +1100 |
commit | 43836a235786b40b100cc1691da9720aa9c5352d (patch) | |
tree | a9c0e8042cf8dc081be66028e53cfcbc9edd3c14 /purgatory/arch | |
parent | c59af3ab34f41f259eb2f019e9f5f9ad3229893f (diff) |
Mark unused parameters
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory/arch')
-rw-r--r-- | purgatory/arch/mips/console-mips.c | 4 | ||||
-rw-r--r-- | purgatory/arch/ppc/console-ppc.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/purgatory/arch/mips/console-mips.c b/purgatory/arch/mips/console-mips.c index 389b7be..af34ecf 100644 --- a/purgatory/arch/mips/console-mips.c +++ b/purgatory/arch/mips/console-mips.c @@ -1,5 +1,7 @@ #include <purgatory.h> -void putchar(int ch) +#include "unused.h" + +void putchar(int UNUSED(ch)) { /* Nothing for now */ } diff --git a/purgatory/arch/ppc/console-ppc.c b/purgatory/arch/ppc/console-ppc.c index 389b7be..af34ecf 100644 --- a/purgatory/arch/ppc/console-ppc.c +++ b/purgatory/arch/ppc/console-ppc.c @@ -1,5 +1,7 @@ #include <purgatory.h> -void putchar(int ch) +#include "unused.h" + +void putchar(int UNUSED(ch)) { /* Nothing for now */ } |