diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-01-10 09:19:31 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-02-10 14:12:06 +0100 |
commit | d76aa73fad1f64c192856e1420ad0756f5e3b778 (patch) | |
tree | dcc9592f942d81a16f10cf433fa748f532015e85 /include/disas | |
parent | 808d15b383fecb3ec540186f68767a211c756c5a (diff) | |
download | qemu-d76aa73fad1f64c192856e1420ad0756f5e3b778.zip qemu-d76aa73fad1f64c192856e1420ad0756f5e3b778.tar.gz qemu-d76aa73fad1f64c192856e1420ad0756f5e3b778.tar.bz2 |
remove unnecessary extern "C" blocks
A handful of header files in QEMU are wrapped with extern "C" blocks.
These are not necessary: there are C++ source files anymore in QEMU,
and even where there were some, they did not include most of these
files anyway.
Remove them for consistency.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/disas')
-rw-r--r-- | include/disas/dis-asm.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/disas/dis-asm.h b/include/disas/dis-asm.h index 64247ec..32cda9e 100644 --- a/include/disas/dis-asm.h +++ b/include/disas/dis-asm.h @@ -11,10 +11,6 @@ #include "qemu/bswap.h" -#ifdef __cplusplus -extern "C" { -#endif - typedef void *PTR; typedef uint64_t bfd_vma; typedef int64_t bfd_signed_vma; @@ -506,8 +502,4 @@ static inline bfd_vma bfd_getb16(const bfd_byte *addr) typedef bool bfd_boolean; -#ifdef __cplusplus -} -#endif - #endif /* DISAS_DIS_ASM_H */ |