From a0fe5cdea15bca52d3b101a88c11cb160ef08b2f Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 22 Oct 2015 15:57:59 +0200 Subject: Documentation update --- pcilib/xml.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pcilib/xml.c') 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; -- cgit v1.2.3