grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 1/4] smbios: Export grub_smbios_get_eps3 function


From: Vladimir Serbinenko
Subject: [PATCH v2 1/4] smbios: Export grub_smbios_get_eps3 function
Date: Fri, 17 May 2024 10:45:37 +0300

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
---
 grub-core/commands/smbios.c | 2 +-
 include/grub/smbios.h       | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/grub-core/commands/smbios.c b/grub-core/commands/smbios.c
index 1a9086ddd..8d9b2e548 100644
--- a/grub-core/commands/smbios.c
+++ b/grub-core/commands/smbios.c
@@ -51,7 +51,7 @@ grub_smbios_get_eps (void)
 }
 
 /* Locate the SMBIOS3 entry point structure depending on the hardware. */
-static struct grub_smbios_eps3 *
+struct grub_smbios_eps3 *
 grub_smbios_get_eps3 (void)
 {
   static struct grub_smbios_eps3 *eps = NULL;
diff --git a/include/grub/smbios.h b/include/grub/smbios.h
index 15ec260b3..0dfa7c348 100644
--- a/include/grub/smbios.h
+++ b/include/grub/smbios.h
@@ -65,5 +65,6 @@ extern struct grub_smbios_eps *grub_machine_smbios_get_eps 
(void);
 extern struct grub_smbios_eps3 *grub_machine_smbios_get_eps3 (void);
 
 extern struct grub_smbios_eps *EXPORT_FUNC (grub_smbios_get_eps) (void);
+extern struct grub_smbios_eps3 *grub_smbios_get_eps3 (void);
 
 #endif /* ! GRUB_SMBIOS_HEADER */
-- 
2.39.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]