summaryrefslogtreecommitdiffstats
path: root/core/save-xml.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-09-21 13:33:38 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-21 16:07:24 -0700
commite46e018e215539025ed6fa975e100486cc419506 (patch)
treec635dd5b385a436d45a22b930fb9ca54fe76bbcd /core/save-xml.c
parentcefebc17bd93f105643e1548b2e9531c1561348f (diff)
downloadsubsurface-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>
Diffstat (limited to 'core/save-xml.c')
-rw-r--r--core/save-xml.c4
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);