Change the return value of two functions from 'void' into 'int'
[fio.git] / steadystate.c
index bd2f70dd3af1b6084994b2409ef6d7f862e2aac4..2e3da1db0cfb3de21c068d6b6f3d159f71c592ad 100644 (file)
@@ -196,7 +196,7 @@ static bool steadystate_deviation(uint64_t iops, uint64_t bw,
        return false;
 }
 
-void steadystate_check(void)
+int steadystate_check(void)
 {
        int i, j, ddir, prev_groupid, group_ramp_time_over = 0;
        unsigned long rate_time;
@@ -302,6 +302,7 @@ void steadystate_check(void)
                        }
                }
        }
+       return 0;
 }
 
 int td_steadystate_init(struct thread_data *td)