Files
buildroot/package/lmbench/0011-src-lat_unix.c-fix-build.patch
Bernd Kuhls dbd24b0bfd package/lmbench: bump version
Last release dates back to 2007, switch _SITE to active fork:
https://sourceforge.net/p/lmbench/patches/3/#4472

Removed patch 0009 which is included in this bump.

Rebased remaining patches.

Sent some existing patches to new active upstream repo and added
Upstream: tags.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2026-01-16 23:13:05 +01:00

35 lines
891 B
Diff

From 88bb985d400ccaddf1a61fba1aa0602c3506a047 Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd@kuhls.net>
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 <bernd@kuhls.net>
---
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