aboutsummaryrefslogtreecommitdiffstats
path: root/cursor/os-compatibility.h
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-02-16 05:54:33 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-02-23 20:42:54 +0000
commit230885ebb40b35c68a3b88a649f449afa344ec28 (patch)
treec4db8de54ed52633731932e3f065292bf771ff62 /cursor/os-compatibility.h
parentcursor: ignore posix_fallocate in shm_pool_resize if not supported by FS (diff)
downloadwayland-230885ebb40b35c68a3b88a649f449afa344ec28.tar
wayland-230885ebb40b35c68a3b88a649f449afa344ec28.tar.gz
wayland-230885ebb40b35c68a3b88a649f449afa344ec28.tar.bz2
wayland-230885ebb40b35c68a3b88a649f449afa344ec28.tar.lz
wayland-230885ebb40b35c68a3b88a649f449afa344ec28.tar.xz
wayland-230885ebb40b35c68a3b88a649f449afa344ec28.tar.zst
wayland-230885ebb40b35c68a3b88a649f449afa344ec28.zip
cursor/os-compatibility: move resizing into a separate function
Signed-off-by: Jan Beich <jbeich@FreeBSD.org>
Diffstat (limited to 'cursor/os-compatibility.h')
-rw-r--r--cursor/os-compatibility.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cursor/os-compatibility.h b/cursor/os-compatibility.h
index d0e69ac..fdfeb78 100644
--- a/cursor/os-compatibility.h
+++ b/cursor/os-compatibility.h
@@ -31,4 +31,7 @@
int
os_create_anonymous_file(off_t size);
+int
+os_resize_anonymous_file(int fd, off_t size);
+
#endif /* OS_COMPATIBILITY_H */