From 101070880e270118aa1f3992e2734a667dde575e Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Fri, 8 Jan 2010 19:26:58 +0100 Subject: More fprintf() -> log_append() porting --- src/dmidecode.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/dmidecode.h') diff --git a/src/dmidecode.h b/src/dmidecode.h index 10412c6..926bd5d 100644 --- a/src/dmidecode.h +++ b/src/dmidecode.h @@ -21,6 +21,7 @@ #include #include "dmihelper.h" +#include "dmierror.h" struct dmi_header { u8 type; @@ -35,8 +36,8 @@ void to_dmi_header(struct dmi_header *h, u8 * data); xmlNode *smbios_decode_get_version(u8 * buf, const char *devmem); xmlNode *legacy_decode_get_version(u8 * buf, const char *devmem); -int smbios_decode(int type, u8 *buf, const char *devmem, xmlNode *xmlnode); -int legacy_decode(int type, u8 *buf, const char *devmem, xmlNode *xmlnode); +int smbios_decode(Log_t *logp, int type, u8 *buf, const char *devmem, xmlNode *xmlnode); +int legacy_decode(Log_t *logp, int type, u8 *buf, const char *devmem, xmlNode *xmlnode); const char *dmi_string(const struct dmi_header *dm, u8 s); void dmi_system_uuid(xmlNode *node, const u8 * p, u16 ver); -- cgit