diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-10-22 15:57:59 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-10-22 15:57:59 +0200 |
commit | a0fe5cdea15bca52d3b101a88c11cb160ef08b2f (patch) | |
tree | e40e5d90ed013e33617931b049c5039e37a1f51f /pcilib/xml.c | |
parent | ee18798c64c6e40433413b73bf07bbe027a9cc6e (diff) | |
download | pcitool-a0fe5cdea15bca52d3b101a88c11cb160ef08b2f.tar.gz pcitool-a0fe5cdea15bca52d3b101a88c11cb160ef08b2f.tar.bz2 pcitool-a0fe5cdea15bca52d3b101a88c11cb160ef08b2f.tar.xz pcitool-a0fe5cdea15bca52d3b101a88c11cb160ef08b2f.zip |
Documentation update
Diffstat (limited to 'pcilib/xml.c')
-rw-r--r-- | pcilib/xml.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pcilib/xml.c b/pcilib/xml.c index bc48a34..50aaa35 100644 --- a/pcilib/xml.c +++ b/pcilib/xml.c @@ -1,5 +1,5 @@ /** - * @file pcilib_xml.c + * @file xml.c * @version 1.0 * * @brief this file is the main source file for the implementation of dynamic registers using xml and several funtionalities for the "pci-tool" line command tool from XML files. the xml part has been implemented using libxml2 @@ -550,7 +550,7 @@ static int pcilib_xml_create_transform_view(pcilib_t *ctx, xmlXPathContextPtr xp pcilib_view_context_t *view_ctx; pcilib_access_mode_t mode = 0; - pcilib_transform_view_description_t desc = {0}; + pcilib_transform_view_description_t desc = {{0}}; desc.base.api = &pcilib_transform_view_api; desc.base.type = PCILIB_TYPE_DOUBLE; @@ -668,7 +668,7 @@ static int pcilib_xml_create_enum_view(pcilib_t *ctx, xmlXPathContextPtr xpath, xmlNodeSetPtr nodeset; pcilib_view_context_t *view_ctx; - pcilib_enum_view_description_t desc = {0}; + pcilib_enum_view_description_t desc = {{0}}; desc.base.type = PCILIB_TYPE_STRING; desc.base.unit = pcilib_xml_enum_view_unit; |