From 88bb985d400ccaddf1a61fba1aa0602c3506a047 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Fri, 5 Dec 2025 18:02:10 +0100 Subject: [PATCH] src/lat_unix.c: fix build lat_unix.c:85:17: error: too many arguments to function 'exit'; expected 0, have 1 85 | exit(1); | ^~~~ ~ lat_unix.c:74:17: note: declared here 74 | void exit(); Upstream: https://github.com/intel/lmbench/pull/43 Signed-off-by: Bernd Kuhls --- src/lat_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lat_unix.c b/src/lat_unix.c index 1e321f8..9a062c1 100644 --- a/src/lat_unix.c +++ b/src/lat_unix.c @@ -71,7 +71,7 @@ void initialize(iter_t iterations, void* cookie) { struct _state* pState = (struct _state*)cookie; - void exit(); + void exit(int); if (iterations) return; -- 2.47.3