Function dmi_system_uuid will soon be needed to decode a field in
an OEM-specific record.

Signed-off-by: Jean Delvare <[email protected]>
---
 dmidecode.c |    4 ++--
 dmidecode.h |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

--- a/dmidecode.c
+++ b/dmidecode.c
@@ -467,8 +467,8 @@ static void dmi_bios_characteristics_x2(
  * 7.2 System Information (Type 1)
  */
 
-static void dmi_system_uuid(void (*print_cb)(const char *name, const char 
*format, ...),
-                           const char *attr, const u8 *p, u16 ver)
+void dmi_system_uuid(void (*print_cb)(const char *name, const char *format, 
...),
+                    const char *attr, const u8 *p, u16 ver)
 {
        int only0xFF = 1, only0x00 = 1;
        int i;
--- a/dmidecode.h
+++ b/dmidecode.h
@@ -55,5 +55,7 @@ void dmi_print_cpuid(void (*print_cb)(co
                     const char *label, enum cpuid_type sig, const u8 *p);
 void dmi_memory_manufacturer_id(const char *attr, u16 code);
 void dmi_memory_product_id(const char *attr, u16 code);
+void dmi_system_uuid(void (*print_cb)(const char *name, const char *format, 
...),
+                    const char *attr, const u8 *p, u16 ver);
 
 #endif

-- 
Jean Delvare
SUSE L3 Support

Reply via email to