[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 07/12] osdep: These function are only available on Non-Win32 s
From: |
Yonggang Luo |
Subject: |
[PATCH v4 07/12] osdep: These function are only available on Non-Win32 system. |
Date: |
Thu, 3 Sep 2020 16:31:42 +0800 |
int qemu_lock_fd(int fd, int64_t start, int64_t len, bool exclusive);
int qemu_unlock_fd(int fd, int64_t start, int64_t len);
int qemu_lock_fd_test(int fd, int64_t start, int64_t len, bool exclusive);
bool qemu_has_ofd_lock(void);
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
---
include/qemu/osdep.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 412962d91a..e80fddd1e8 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -502,11 +502,11 @@ int qemu_close(int fd);
int qemu_unlink(const char *name);
#ifndef _WIN32
int qemu_dup(int fd);
-#endif
int qemu_lock_fd(int fd, int64_t start, int64_t len, bool exclusive);
int qemu_unlock_fd(int fd, int64_t start, int64_t len);
int qemu_lock_fd_test(int fd, int64_t start, int64_t len, bool exclusive);
bool qemu_has_ofd_lock(void);
+#endif
#if defined(__HAIKU__) && defined(__i386__)
#define FMT_pid "%ld"
--
2.28.0.windows.1
- [PATCH v4 01/12] configure: fixes dtc not cloned when running msys2 CI, (continued)
- [PATCH v4 04/12] tests: handling signal on win32 properly, Yonggang Luo, 2020/09/03
- [PATCH v4 05/12] configure: Fix include and linkage issue on msys2, Yonggang Luo, 2020/09/03
- [PATCH v4 06/12] block: Fixes nfs on msys2/mingw, Yonggang Luo, 2020/09/03
- [PATCH v4 07/12] osdep: These function are only available on Non-Win32 system.,
Yonggang Luo <=
- [PATCH v4 09/12] stubs: qemu_notify_event have no need to stub, Yonggang Luo, 2020/09/03
- [PATCH v4 08/12] ci: fixes msys2 build by upgrading capstone to 4.0.2, Yonggang Luo, 2020/09/03
- [PATCH v4 10/12] meson: Fixes qapi tests., Yonggang Luo, 2020/09/03
- [PATCH v4 11/12] tests: Disable test-image-locking that not works under Win32, Yonggang Luo, 2020/09/03
- [PATCH v4 12/12] ci: Enable msys2 ci in cirrus, Yonggang Luo, 2020/09/03