cursor/os-compatibility: move resizing into a separate function

Signed-off-by: Jan Beich <jbeich@FreeBSD.org>
This commit is contained in:
Jan Beich 2020-02-16 05:54:33 +00:00
parent 3a3dd0820d
commit 230885ebb4
3 changed files with 25 additions and 28 deletions

View file

@ -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 */