Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
python-dmidecode
gcc7-inline.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc7-inline.patch of Package python-dmidecode
--- src/dmixml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/src/dmixml.c +++ b/src/dmixml.c @@ -362,7 +362,7 @@ xmlNode *dmixml_FindNode(xmlNode *node, * @return char* Pointer to the tag contents if found, otherwise NULL. This value * must NOT be freed, as it points directly into the value in the XML document. */ -inline char *dmixml_GetContent(xmlNode *node) { +char *dmixml_GetContent(xmlNode *node) { // FIXME: Should find better way how to return UTF-8 data return (((node != NULL) && (node->children != NULL)) ? (char *) node->children->content : NULL); } @@ -377,7 +377,7 @@ inline char *dmixml_GetContent(xmlNode * * @return char* Pointer to the tag contents if found, otherwise NULL. This value * must NOT be freed, as it points directly into the value in the XML document. */ -inline char *dmixml_GetNodeContent(xmlNode *node, const char *key) { +char *dmixml_GetNodeContent(xmlNode *node, const char *key) { return dmixml_GetContent(dmixml_FindNode(node, key)); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor