CC disk_la-disk.lo
disk.c:296:13: error: ‘submit_io_time’ defined but not used
[-Werror=unused-function]
static void submit_io_time (char const *plugin_instance, derive_t
io_time, derive_t weighted_time)
^
cc1: all warnings being treated as errors
Thanks @dago for letting me know.
plugin_dispatch_values (&vl);
} /* void disk_submit */
+#if KERNEL_FREEBSD || KERNEL_LINUX
static void submit_io_time (char const *plugin_instance, derive_t io_time, derive_t weighted_time)
{
value_t values[2];
plugin_dispatch_values (&vl);
} /* void submit_io_time */
+#endif /* KERNEL_FREEBSD || KERNEL_LINUX */
#if KERNEL_LINUX
static void submit_in_progress (char const *disk_name, gauge_t in_progress)