mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 11:38:07 -07:00
33 lines
896 B
Diff
33 lines
896 B
Diff
https://github.com/ipmitool/ipmitool/pull/360
|
|
|
|
From a9e262480722f5affd237ee10d0bbc8c55617cb7 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Fri, 2 Sep 2022 07:30:10 -0700
|
|
Subject: [PATCH] ipmi_fru.c: Provide missing function declarations
|
|
|
|
Fixes build with clang-15+
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
lib/ipmi_fru.c | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
diff --git a/lib/ipmi_fru.c b/lib/ipmi_fru.c
|
|
index 3d1d8a1a..5c5661cf 100644
|
|
--- a/lib/ipmi_fru.c
|
|
+++ b/lib/ipmi_fru.c
|
|
@@ -60,6 +60,13 @@ static const char *section_id[4] = {
|
|
"Board Section",
|
|
"Product Section"
|
|
};
|
|
+/* From lib/ipmi_hpmfwupg.c: */
|
|
+uint16_t
|
|
+ipmi_intf_get_max_request_data_size(struct ipmi_intf * intf);
|
|
+
|
|
+/* From src/plugins/ipmi_intf.c: */
|
|
+uint16_t
|
|
+ipmi_intf_get_max_response_data_size(struct ipmi_intf * intf);
|
|
|
|
static const char * combined_voltage_desc[] = {
|
|
"12 V",
|