From b72db3d1ed561d31d059acc7e9a5aacb8c5ee9ac Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 8 Sep 2012 00:41:11 -0400 Subject: move fallocate syscall wrapper to linux-specific syscalls dir --- src/fcntl/fallocate.c | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 src/fcntl/fallocate.c (limited to 'src/fcntl') diff --git a/src/fcntl/fallocate.c b/src/fcntl/fallocate.c deleted file mode 100644 index 9146350e..00000000 --- a/src/fcntl/fallocate.c +++ /dev/null @@ -1,9 +0,0 @@ -#define _GNU_SOURCE -#include -#include "syscall.h" - -int fallocate(int fd, int mode, off_t base, off_t len) -{ - return syscall(SYS_fallocate, fd, mode, __SYSCALL_LL_E(base), - __SYSCALL_LL_E(len)); -} -- cgit v1.2.1