aboutsummaryrefslogtreecommitdiff
path: root/target/riscv
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-08-09 08:12:50 -0700
committerRichard Henderson <richard.henderson@linaro.org>2019-08-19 08:13:14 -0700
commitc692079597d98337b6f25deff7599afe39b2a468 (patch)
tree2842f6e568161578a96b43b5cbc518ebdf07b010 /target/riscv
parent94597b6146f30f949f2c454f424082a2b0f55a0e (diff)
downloadqemu-c692079597d98337b6f25deff7599afe39b2a468.zip
qemu-c692079597d98337b6f25deff7599afe39b2a468.tar.gz
qemu-c692079597d98337b6f25deff7599afe39b2a468.tar.bz2
decodetree: Suppress redundant declaration warnings
We can tell that a decodetree input file is "secondary" when it uses an argument set marked "!extern". This indicates that at least one of the insn translation functions will have already been declared by the "primary" input file, but given only the secondary we cannot tell which. Avoid redundant declaration warnings by suppressing them with pragmas. Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Suggested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/riscv')
0 files changed, 0 insertions, 0 deletions