include/disas/dis-asm.h: Handle being included outside 'extern "C"'
commit2c316f9af4752369ac86be85cd8846d6365e4e68
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Apr 2021 13:55:43 +0000 (16 14:55 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 10 May 2021 16:21:54 +0000 (10 17:21 +0100)
treed6e72d66eec94aaea2d6bd4e413ab107bf638025
parentb30a8c241fe22b9cbd0ad015809fc92688fee4ff
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>
disas/arm-a64.cc
disas/nanomips.cpp
include/disas/dis-asm.h