Cleanup: make xml_parsing_units local to parse-xml.c

xml_parsing_units stores the units of the currently parsed XML
file. It is not used outside of parse-xml.c. Therefore, make
it of static linkage and remove the declaration from dive.h.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-10-14 20:01:20 +02:00 committed by Dirk Hohndel
parent 253510c555
commit 7f49e43d76
2 changed files with 1 additions and 2 deletions

View file

@ -35,7 +35,7 @@ int last_xml_version = -1;
static xmlDoc *test_xslt_transforms(xmlDoc *doc, const char **params);
struct units xml_parsing_units;
static struct units xml_parsing_units;
const struct units SI_units = SI_UNITS;
const struct units IMPERIAL_units = IMPERIAL_UNITS;