diff options
| author | Jan Beich <jbeich@FreeBSD.org> | 2020-02-16 05:54:33 +0000 |
|---|---|---|
| committer | Jan Beich <jbeich@FreeBSD.org> | 2020-02-23 20:42:54 +0000 |
| commit | 230885ebb40b35c68a3b88a649f449afa344ec28 (patch) | |
| tree | c4db8de54ed52633731932e3f065292bf771ff62 /cursor/os-compatibility.h | |
| parent | cursor: ignore posix_fallocate in shm_pool_resize if not supported by FS (diff) | |
| download | wayland-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.h | 3 |
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 */ |
