diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2021-04-16 14:55:43 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-05-10 17:21:54 +0100 |
commit | 2c316f9af4752369ac86be85cd8846d6365e4e68 (patch) | |
tree | d6e72d66eec94aaea2d6bd4e413ab107bf638025 /disas/nanomips.cpp | |
parent | b30a8c241fe22b9cbd0ad015809fc92688fee4ff (diff) |
include/disas/dis-asm.h: Handle being included outside 'extern "C"'
Make dis-asm.h handle being included outside an 'extern "C"' block;
this allows us to remove the 'extern "C"' blocks that our two C++
files that include it are using.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'disas/nanomips.cpp')
-rw-r--r-- | disas/nanomips.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/disas/nanomips.cpp b/disas/nanomips.cpp index 8ddef897f0..9be8df75dd 100644 --- a/disas/nanomips.cpp +++ b/disas/nanomips.cpp @@ -28,9 +28,7 @@ */ #include "qemu/osdep.h" -extern "C" { #include "disas/dis-asm.h" -} #include <cstring> #include <stdexcept> |