summary refs log tree commit diff stats
path: root/include/qemu/compiler.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-06-14 16:31:40 -0700
committerRichard Henderson <richard.henderson@linaro.org>2021-06-15 18:31:00 -0700
commit6c98635ed7772e63b98944ab972c1eef8e498da3 (patch)
tree9ac8d75f0f828b0562423c6e25f4513f95af9375 /include/qemu/compiler.h
parent9c75bae717eae4c139cbd8b6a713cff01fe718f0 (diff)
downloadfocaccia-qemu-6c98635ed7772e63b98944ab972c1eef8e498da3.tar.gz
focaccia-qemu-6c98635ed7772e63b98944ab972c1eef8e498da3.zip
util: Use unique type for QemuRecMutex in thread-posix.h
We will shortly convert lockable.h to _Generic, and we cannot
have two compatible types in the same expansion.  Wrap QemuMutex
in a struct, and unwrap in qemu-thread-posix.c.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210614233143.1221879-6-richard.henderson@linaro.org>
Diffstat (limited to 'include/qemu/compiler.h')
0 files changed, 0 insertions, 0 deletions