diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-02 16:32:25 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-03 15:47:48 +0200 |
| commit | 13d110944831e8fb15087697d540d0922ea355f4 (patch) | |
| tree | a139e468e4f4a51dee4eaa49559af2c8e9e6bdd0 /include/qemu/typedefs.h | |
| parent | a42706dbe4f14416df5c65de1a90d72cbc338530 (diff) | |
| download | focaccia-qemu-13d110944831e8fb15087697d540d0922ea355f4.tar.gz focaccia-qemu-13d110944831e8fb15087697d540d0922ea355f4.zip | |
lockable: remove QemuLockable from typedefs.h
Using QemuLockable almost always requires going through QEMU_MAKE_LOCKABLE(). Therefore, there is little point in having the typedef always present. Move it to lockable.h, with only a small adjustment to coroutine.h (which has a tricky co-dependency with lockable.h due to defining CoMutex *and* using QemuLockable as a part of the CoQueue API). Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qemu/typedefs.h')
| -rw-r--r-- | include/qemu/typedefs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h index 090e219248..ab24ca2876 100644 --- a/include/qemu/typedefs.h +++ b/include/qemu/typedefs.h @@ -105,7 +105,6 @@ typedef struct QEMUBH QEMUBH; typedef struct QemuConsole QemuConsole; typedef struct QEMUCursor QEMUCursor; typedef struct QEMUFile QEMUFile; -typedef struct QemuLockable QemuLockable; typedef struct QemuMutex QemuMutex; typedef struct QemuOpts QemuOpts; typedef struct QemuOptsList QemuOptsList; |