Initial Commit
- initial default booting image
This commit is contained in:
34
package/lmbench/0011-src-lat_unix.c-fix-build.patch
Normal file
34
package/lmbench/0011-src-lat_unix.c-fix-build.patch
Normal file
@@ -0,0 +1,34 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user