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 | |
parent | c59af3ab34f41f259eb2f019e9f5f9ad3229893f (diff) |
Mark unused parameters
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory')
-rw-r--r-- | purgatory/Makefile | 1 | ||||
-rw-r--r-- | purgatory/arch/mips/console-mips.c | 4 | ||||
-rw-r--r-- | purgatory/arch/ppc/console-ppc.c | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/purgatory/Makefile b/purgatory/Makefile index ceab269..aa3a788 100644 --- a/purgatory/Makefile +++ b/purgatory/Makefile @@ -53,6 +53,7 @@ $(PURGATORY): CPPFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS) \ -I$(srcdir)/purgatory/include \ -I$(srcdir)/purgatory/arch/$(ARCH)/include \ -I$(srcdir)/util_lib/include \ + -I$(srcdir)/include \ -I$(shell $(CC) -print-file-name=include) $(PURGATORY): LDFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS)\ --no-undefined -nostartfiles -nostdlib -nodefaultlibs \ 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 */ } |