diff options
author | David Sommerseth <davids@redhat.com> | 2009-04-03 14:50:02 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2009-04-29 11:22:11 +0200 |
commit | a35afd0190f6a6925aa134ac43d2653aaf018ff8 (patch) | |
tree | 90135f857ed8aba9ad67d9dd29ad1efc5b41bd1a | |
parent | 2ed8a0e7cb6cbdeec1c1c49e7aedf03188e72017 (diff) | |
download | python-dmidecode-a35afd0190f6a6925aa134ac43d2653aaf018ff8.tar.gz python-dmidecode-a35afd0190f6a6925aa134ac43d2653aaf018ff8.tar.xz python-dmidecode-a35afd0190f6a6925aa134ac43d2653aaf018ff8.zip |
Fixed wrong xmlAttrNode type to xmlAttr
-rw-r--r-- | src/dmixml.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dmixml.h b/src/dmixml.h index d7d2716..7d8c4ad 100644 --- a/src/dmixml.h +++ b/src/dmixml.h @@ -24,8 +24,9 @@ #define _XMLHELPER_H #include <stdarg.h> +#include <libxml/tree.h> -xmlAttrNode *dmixml_AddAttribute(xmlNode *node, const char *atrname, const char *fmt, ...); +xmlAttr *dmixml_AddAttribute(xmlNode *node, const char *atrname, const char *fmt, ...); xmlNode *dmixml_AddTextChild(xmlNode *node, const char *tagname, const char *fmt, ...); xmlNode *dmixml_AddTextContent(xmlNode *node, const char *fmt, ...); |