[PATCH 2/2] eta: convert skip_eta() to ANSI C declaration
Tomas Winkler <[email protected]> Thu, 31 Jul 2025 15:20:11 +0300
| Newsgroups | org.kernel.vger.fio |
|---|---|
| Message-ID | <[email protected]> |
Update skip_eta() to use an ANSI C function declaration by explicitly specifying the void parameter list. Signed-off-by: Tomas Winkler <[email protected]> --- eta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eta.c b/eta.c index 7d07708f..16109510 100644 --- a/eta.c +++ b/eta.c @@ -381,7 +381,7 @@ bool eta_time_within_slack(unsigned int time) * These are the conditions under which we might be able to skip the eta * calculation. */ -static bool skip_eta() +static bool skip_eta(void) { if (!(output_format & FIO_OUTPUT_NORMAL) && f_out == stdout) return true; -- 2.45.2