diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-03-29 15:21:00 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-05-03 15:17:56 +0400 |
commit | a7241974ceca3a783ab010f3fd1926fa42346a34 (patch) | |
tree | c34b1323dd4a96d92131dc9caf16c89c04ee5556 /include | |
parent | ad24b679d215c2f8eaab6125a68e864c2a5d7dde (diff) | |
download | qemu-a7241974ceca3a783ab010f3fd1926fa42346a34.zip qemu-a7241974ceca3a783ab010f3fd1926fa42346a34.tar.gz qemu-a7241974ceca3a783ab010f3fd1926fa42346a34.tar.bz2 |
Replace qemu_pipe() with g_unix_open_pipe()
GLib g_unix_open_pipe() is essentially like qemu_pipe(), available since
2.30.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/osdep.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 52d81c0..1c1e7ec 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -547,10 +547,6 @@ static inline void qemu_timersub(const struct timeval *val1, ssize_t qemu_write_full(int fd, const void *buf, size_t count) G_GNUC_WARN_UNUSED_RESULT; -#ifndef _WIN32 -int qemu_pipe(int pipefd[2]); -#endif - void qemu_set_cloexec(int fd); /* Return a dynamically allocated directory path that is appropriate for storing |