From b72db3d1ed561d31d059acc7e9a5aacb8c5ee9ac Mon Sep 17 00:00:00 2001
From: Rich Felker <dalias@aerifal.cx>
Date: Sat, 8 Sep 2012 00:41:11 -0400
Subject: move fallocate syscall wrapper to linux-specific syscalls dir

---
 src/fcntl/fallocate.c | 9 ---------
 src/linux/fallocate.c | 9 +++++++++
 2 files changed, 9 insertions(+), 9 deletions(-)
 delete mode 100644 src/fcntl/fallocate.c
 create mode 100644 src/linux/fallocate.c

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 <fcntl.h>
-#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));
-}
diff --git a/src/linux/fallocate.c b/src/linux/fallocate.c
new file mode 100644
index 00000000..9146350e
--- /dev/null
+++ b/src/linux/fallocate.c
@@ -0,0 +1,9 @@
+#define _GNU_SOURCE
+#include <fcntl.h>
+#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.3-70-g09d2