public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad17f69
)
cpu-6502: introduce used() macro
author
Alan Cox
<alan@linux.intel.com>
Fri, 30 Jan 2015 00:21:13 +0000
(
00:21
+0000)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 30 Jan 2015 00:21:13 +0000
(
00:21
+0000)
So we can tidy up all the unused argument warnings
Kernel/cpu-6502/cpu.h
patch
|
blob
|
history
diff --git
a/Kernel/cpu-6502/cpu.h
b/Kernel/cpu-6502/cpu.h
index
c861066
..
39a3a68
100644
(file)
--- 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