Function get_diskstats_dev_nr() is used only by sadc.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
return irq;
}
+#ifdef SOURCE_SADC
+/*---------------- BEGIN: FUNCTIONS USED BY SADC ONLY ---------------------*/
+
/*
***************************************************************************
* Find number of devices and partitions available in /proc/diskstats.
return dev;
}
-#ifdef SOURCE_SADC
-/*---------------- BEGIN: FUNCTIONS USED BY SADC ONLY ---------------------*/
-
/*
***************************************************************************
* Find number of serial lines that support tx/rx accounting