#include "io_u_queue.h"
#include "workqueue.h"
#include "steadystate.h"
-#include "nowarn_snprintf.h"
+#include "lib/nowarn_snprintf.h"
#ifdef CONFIG_SOLARISAIO
#include <sys/asynch.h>
--- /dev/null
+#ifndef _NOWARN_SNPRINTF_H_
+#define _NOWARN_SNPRINTF_H_
+
+#include <stdio.h>
+#include <stdarg.h>
+
+static inline int nowarn_snprintf(char *str, size_t size, const char *format,
+ ...)
+{
+ va_list args;
+
+ va_start(args, format);
+#if __GNUC__ -0 >= 8
+#pragma GCC diagnostic push "-Wformat-truncation"
+#pragma GCC diagnostic ignored "-Wformat-truncation"
+#endif
+ return vsnprintf(str, size, format, args);
+#if __GNUC__ -0 >= 8
+#pragma GCC diagnostic pop "-Wformat-truncation"
+#endif
+ va_end(args);
+}
+
+#endif
+++ /dev/null
-#ifndef _NOWARN_SNPRINTF_H_
-#define _NOWARN_SNPRINTF_H_
-
-#include <stdio.h>
-#include <stdarg.h>
-
-static inline int nowarn_snprintf(char *str, size_t size, const char *format,
- ...)
-{
- va_list args;
-
- va_start(args, format);
-#if __GNUC__ -0 >= 8
-#pragma GCC diagnostic push "-Wformat-truncation"
-#pragma GCC diagnostic ignored "-Wformat-truncation"
-#endif
- return vsnprintf(str, size, format, args);
-#if __GNUC__ -0 >= 8
-#pragma GCC diagnostic pop "-Wformat-truncation"
-#endif
- va_end(args);
-}
-
-#endif
#include <stdint.h>
#include <string.h>
#include <limits.h>
-#include "nowarn_snprintf.h"
+#include "lib/nowarn_snprintf.h"
struct thread_rand32_state {
uint32_t s[4];