[igt-dev] [PATCH i-g-t 1/4] runner: Fix declaration of timeofday_double

Petri Latvala petri.latvala at intel.com
Mon Oct 29 14:30:51 UTC 2018


Fixes compiler warning: function declaration isn’t a prototype

Signed-off-by: Petri Latvala <petri.latvala at intel.com>
---
 runner/executor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runner/executor.c b/runner/executor.c
index fc79f772..007b72ce 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -928,7 +928,7 @@ static bool clear_old_results(char *path)
 	return true;
 }
 
-static double timeofday_double()
+static double timeofday_double(void)
 {
 	struct timeval tv;
 
-- 
2.18.0



More information about the igt-dev mailing list