aboutsummaryrefslogtreecommitdiff
path: root/include/qemu
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2017-11-09 19:30:11 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2017-11-14 14:31:33 +0100
commit54113dd5eb2a45cf76769622d04d22722405eaa1 (patch)
tree1a7048ac05a38c528482722a170fecad81845567 /include/qemu
parentb8e535ae8afb3d22b6326080b22c075fa5f40cd4 (diff)
downloadqemu-54113dd5eb2a45cf76769622d04d22722405eaa1.zip
qemu-54113dd5eb2a45cf76769622d04d22722405eaa1.tar.gz
qemu-54113dd5eb2a45cf76769622d04d22722405eaa1.tar.bz2
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')
-rw-r--r--include/qemu/thread-posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/thread-posix.h b/include/qemu/thread-posix.h
index f4296d3..f3f47e4 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 {