summaryrefslogtreecommitdiff
path: root/helpers.c
diff options
context:
space:
mode:
authorSitsofe Wheeler <sitsofe@yahoo.com>2018-03-19 05:33:13 +0000
committerSitsofe Wheeler <sitsofe@yahoo.com>2018-03-21 22:09:28 +0000
commit3d2d14bcb844e72809192311369a642c5d415472 (patch)
tree122bf381752fe506a9db265c5199178261a6ab9f /helpers.c
parent0f0346e0c8f9141ceea8a5de8264c635ea0cae9b (diff)
downloadfio-3d2d14bcb844e72809192311369a642c5d415472.tar.gz
fio-3d2d14bcb844e72809192311369a642c5d415472.tar.bz2
Refactor #includes and headers
- Try and remove unneeded #include lines - Try and add #include lines that would allow the files to be built in a more standalone manner Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Diffstat (limited to 'helpers.c')
-rw-r--r--helpers.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/helpers.c b/helpers.c
index 4342b2d2..a0ee3704 100644
--- a/helpers.c
+++ b/helpers.c
@@ -1,13 +1,6 @@
-#include <stdlib.h>
#include <errno.h>
-#include <sys/socket.h>
-#include <sys/time.h>
-#include <netinet/in.h>
-#include <unistd.h>
-#include "compiler/compiler.h"
-#include "arch/arch.h"
-#include "os/os.h"
+#include "helpers.h"
#ifndef CONFIG_LINUX_FALLOCATE
int fallocate(int fd, int mode, off_t offset, off_t len)