summary refs log tree commit diff stats
path: root/include/qemu/cutils.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-03-23 19:57:40 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-06 14:31:55 +0200
commite9c4e0a8e54008bd83459777c8b8f5a38ff6fea2 (patch)
tree2bd025c0f97e1b7438eea309dc85449fa5fee88e /include/qemu/cutils.h
parent69242e7e7ea55f2a3f4fa50e367cad849c9cdc36 (diff)
downloadfocaccia-qemu-e9c4e0a8e54008bd83459777c8b8f5a38ff6fea2.tar.gz
focaccia-qemu-e9c4e0a8e54008bd83459777c8b8f5a38ff6fea2.zip
Move fcntl_setfl() to oslib-posix
It is only implemented for POSIX anyway.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220323155743.1585078-30-marcandre.lureau@redhat.com>
[Add braces around if statements. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qemu/cutils.h')
-rw-r--r--include/qemu/cutils.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/qemu/cutils.h b/include/qemu/cutils.h
index 2137e65260..e873bad366 100644
--- a/include/qemu/cutils.h
+++ b/include/qemu/cutils.h
@@ -131,7 +131,6 @@ const char *qemu_strchrnul(const char *s, int c);
 time_t mktimegm(struct tm *tm);
 int qemu_fdatasync(int fd);
 int qemu_msync(void *addr, size_t length, int fd);
-int fcntl_setfl(int fd, int flag);
 int qemu_parse_fd(const char *param);
 int qemu_strtoi(const char *nptr, const char **endptr, int base,
                 int *result);