public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fde330c
)
cpu-z80: introduce used() macro
author
Alan Cox
<alan@linux.intel.com>
Fri, 30 Jan 2015 00:21:38 +0000
(
00:21
+0000)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 30 Jan 2015 00:21:38 +0000
(
00:21
+0000)
SDCC wants the reverse behaviour to everyone else
Kernel/cpu-z80/cpu.h
patch
|
blob
|
history
diff --git
a/Kernel/cpu-z80/cpu.h
b/Kernel/cpu-z80/cpu.h
index
8cab861
..
2d41d26
100644
(file)
--- a/
Kernel/cpu-z80/cpu.h
+++ b/
Kernel/cpu-z80/cpu.h
@@
-59,6
+59,8
@@
typedef union { /* this structure is endian dependent */
#define VIDEO
#define DISCARD
+/* SDCC is arsy about unused parameters */
+#define used(x) x
/* No fastcall in SDCC */
#define __fastcall__