diff options
author | Emilio G. Cota | 2017-11-10 01:30:11 +0100 |
---|---|---|
committer | Paolo Bonzini | 2017-11-14 14:31:33 +0100 |
commit | 54113dd5eb2a45cf76769622d04d22722405eaa1 (patch) | |
tree | 1a7048ac05a38c528482722a170fecad81845567 /include/qemu/thread-posix.h | |
parent | Makefile: simpler/faster "make help" (diff) | |
download | qemu-54113dd5eb2a45cf76769622d04d22722405eaa1.tar.gz qemu-54113dd5eb2a45cf76769622d04d22722405eaa1.tar.xz qemu-54113dd5eb2a45cf76769622d04d22722405eaa1.zip |
thread-posix: fix qemu_rec_mutex_trylock macro
We never noticed because it has no users.
Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <1510273811-13419-1-git-send-email-cota@braap.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qemu/thread-posix.h')
-rw-r--r-- | include/qemu/thread-posix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/thread-posix.h b/include/qemu/thread-posix.h index f4296d31c4..f3f47e426f 100644 --- a/include/qemu/thread-posix.h +++ b/include/qemu/thread-posix.h @@ -7,7 +7,7 @@ typedef QemuMutex QemuRecMutex; #define qemu_rec_mutex_destroy qemu_mutex_destroy #define qemu_rec_mutex_lock qemu_mutex_lock -#define qemu_rec_mutex_try_lock qemu_mutex_try_lock +#define qemu_rec_mutex_trylock qemu_mutex_trylock #define qemu_rec_mutex_unlock qemu_mutex_unlock struct QemuMutex { |