diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-09-21 13:33:38 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-09-21 16:07:24 -0700 |
commit | e46e018e215539025ed6fa975e100486cc419506 (patch) | |
tree | c635dd5b385a436d45a22b930fb9ca54fe76bbcd | |
parent | cefebc17bd93f105643e1548b2e9531c1561348f (diff) | |
download | subsurface-e46e018e215539025ed6fa975e100486cc419506.tar.gz |
Cleanup: make two functions in core/save-xml.c of static linkage
These functions were not used outside of the core/save-xml.c. Make
them local.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r-- | core/save-xml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/save-xml.c b/core/save-xml.c index 339354854..912350da2 100644 --- a/core/save-xml.c +++ b/core/save-xml.c @@ -586,7 +586,7 @@ int save_dives(const char *filename) return save_dives_logic(filename, false, false); } -void save_dives_buffer(struct membuffer *b, const bool select_only, bool anonymize) +static void save_dives_buffer(struct membuffer *b, const bool select_only, bool anonymize) { int i; struct dive *dive; @@ -811,7 +811,7 @@ int export_dives_xslt(const char *filename, const bool selected, const int units return res; } -void save_dive_sites_buffer(struct membuffer *b, const bool select_only, bool anonymize) +static void save_dive_sites_buffer(struct membuffer *b, const bool select_only, bool anonymize) { int i; put_format(b, "<divesites program='subsurface' version='%d'>\n", DATAFORMAT_VERSION); |