dropped patches 0001-_BSD_SOURCE-is-deprecated-use-_DEFAULT_SOURCE.patch 0002-Drop-pal-from-INCLUDES.patch 0003-EVP_MD_CTX-changed-type-in-openssl-0.9.7.patch 0004-openssl-command-changed-options.patch OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:wbem/omi?expand=0&rev=13
30 lines
811 B
Diff
30 lines
811 B
Diff
From da3b583fe16d5b41dd855ba065667c0460787484 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
|
|
Date: Thu, 29 Dec 2022 12:33:24 +0100
|
|
Subject: [PATCH] fix sched_getcpu prototype
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Signed-off-by: Klaus Kämpf <kkaempf@suse.de>
|
|
---
|
|
Unix/pal/cpu.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Unix/pal/cpu.h b/Unix/pal/cpu.h
|
|
index d003f87..04335a3 100644
|
|
--- a/Unix/pal/cpu.h
|
|
+++ b/Unix/pal/cpu.h
|
|
@@ -33,7 +33,7 @@ PAL_INLINE int CPU_GetCount()
|
|
PAL_INLINE int CPU_GetCurrent()
|
|
{
|
|
#if defined(CONFIG_HAVE_SCHED_GETCPU)
|
|
- int sched_getcpu();
|
|
+ int sched_getcpu(void);
|
|
return sched_getcpu();
|
|
#else
|
|
/* ATTN: sched_getcpu is not implemented! */
|
|
--
|
|
2.38.1
|
|
|