From 97ba1cbc0842897f5459a75ef1cd2ecbb3cab136 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Thu, 4 Jun 2009 10:09:39 +0200 Subject: Resurrected struct _dmi_codes_major This got removed in commit 63e6c57e448d9dcc795cb14e89de6eb51f1033f6, but is needed for the following struct in dmihelper.h, and in dmidecode.c::dmi_decode():3694 --- src/dmihelper.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/dmihelper.h b/src/dmihelper.h index 70f35ad..e888639 100644 --- a/src/dmihelper.h +++ b/src/dmihelper.h @@ -15,6 +15,13 @@ #define MAXVAL 1024 +typedef struct _dmi_codes_major { + const unsigned short code; + const char *id; + const char *desc; + const char *tagname; +} dmi_codes_major; + static const dmi_codes_major dmiCodesMajor[] = { {0, "3.3.1", "BIOS Information", "BIOSinfo"}, {1, "3.3.2", "System Information", "SystemInfo"}, -- cgit