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/qemu/rcu.h | |
| parent | 808d15b383fecb3ec540186f68767a211c756c5a (diff) | |
| download | focaccia-qemu-d76aa73fad1f64c192856e1420ad0756f5e3b778.tar.gz focaccia-qemu-d76aa73fad1f64c192856e1420ad0756f5e3b778.zip | |
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/qemu/rcu.h')
| -rw-r--r-- | include/qemu/rcu.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/qemu/rcu.h b/include/qemu/rcu.h index b063c6fde8..313fc414bc 100644 --- a/include/qemu/rcu.h +++ b/include/qemu/rcu.h @@ -31,10 +31,6 @@ #include "qemu/sys_membarrier.h" #include "qemu/coroutine-tls.h" -#ifdef __cplusplus -extern "C" { -#endif - /* * Important ! * @@ -196,8 +192,4 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(RCUReadAuto, rcu_read_auto_unlock) void rcu_add_force_rcu_notifier(Notifier *n); void rcu_remove_force_rcu_notifier(Notifier *n); -#ifdef __cplusplus -} -#endif - #endif /* QEMU_RCU_H */ |