Move variables to backend, fix up line spaces
[fio.git] / libfio.c
index cb917cef99af8c4be0e301992f2f97bc2e291000..76a36a616d55b473891085e3c2908b2ff0262931 100644 (file)
--- a/libfio.c
+++ b/libfio.c
 #include <string.h>
 #include "fio.h"
 
+/*
+ * Just expose an empty list, if the OS does not support disk util stats
+ */
+#ifndef FIO_HAVE_DISK_UTIL
+FLIST_HEAD(disk_list);
+#endif
+
+unsigned long arch_flags = 0;
+
 static const char *fio_os_strings[os_nr] = {
        "Invalid",
        "Linux",