diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-10-14 20:01:20 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-15 21:00:17 -0400 |
commit | 7f49e43d767211a654d26240b5a33397153265ef (patch) | |
tree | bc65909a973fed350712bf2590a9d3905372a3fa /core/dive.h | |
parent | 253510c55586c06e42b26e480db3b19a5f1a4a3a (diff) | |
download | subsurface-7f49e43d767211a654d26240b5a33397153265ef.tar.gz |
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>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h index ef69bc934..659def142 100644 --- a/core/dive.h +++ b/core/dive.h @@ -427,7 +427,6 @@ extern void unregister_trip(dive_trip_t *trip); extern void free_trip(dive_trip_t *trip); extern const struct units SI_units, IMPERIAL_units; -extern struct units xml_parsing_units; extern const struct units *get_units(void); extern int run_survey, verbose, quit, force_root; |