aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-03-29 15:27:12 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2022-05-03 15:17:53 +0400
commitad24b679d215c2f8eaab6125a68e864c2a5d7dde (patch)
tree194050ff45006904a395cf6fd7bae9471376d01d /include/sysemu
parent4d14cb0cd7868d11091acf5c930982cae4e3489c (diff)
downloadqemu-ad24b679d215c2f8eaab6125a68e864c2a5d7dde.zip
qemu-ad24b679d215c2f8eaab6125a68e864c2a5d7dde.tar.gz
qemu-ad24b679d215c2f8eaab6125a68e864c2a5d7dde.tar.bz2
block: move fcntl_setfl()
It is only used by block/file-posix.c, move it there. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/sysemu')
-rw-r--r--include/sysemu/os-posix.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sysemu/os-posix.h b/include/sysemu/os-posix.h
index adbe19d..58de7c9 100644
--- a/include/sysemu/os-posix.h
+++ b/include/sysemu/os-posix.h
@@ -96,8 +96,6 @@ static inline void qemu_funlockfile(FILE *f)
funlockfile(f);
}
-int fcntl_setfl(int fd, int flag);
-
#ifdef __cplusplus
}
#endif