summaryrefslogtreecommitdiff
path: root/src/linux/swapoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/swapoff.c')
-rw-r--r--src/linux/swapoff.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/linux/swapoff.c b/src/linux/swapoff.c
deleted file mode 100644
index 9f95e82d..00000000
--- a/src/linux/swapoff.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <sys/swap.h>
-#include "syscall.h"
-
-int swapoff(const char *path)
-{
- return syscall(SYS_swapoff, path);
-}