summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-28 11:27:36 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-28 11:27:36 -0700
commitf4677d760462e071e6e913cc9e64a051d16a9bbe (patch)
treea0be66b0df24ab68282d6103540fb3403dd49e65 /dive.h
parentc519d0b32fa7419f283aeaff9ce7dbd04f6216b4 (diff)
downloadsubsurface-f4677d760462e071e6e913cc9e64a051d16a9bbe.tar.gz
Rename helper function and make it global
save_one_dive_to_mb() is very useful (but there was a namespace collision with another helper in save_git.c) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 8065fe57a..cb92485c5 100644
--- a/dive.h
+++ b/dive.h
@@ -661,6 +661,9 @@ extern int save_dives_logic(const char *filename, bool select_only);
extern int save_dive(FILE *f, struct dive *dive);
extern int export_dives_xslt(const char *filename, const bool selected, const int units, const char *export_xslt);
+struct membuffer;
+extern void save_one_dive_to_mb(struct membuffer *b, struct dive *dive);
+
struct git_oid;
struct git_repository;
#define dummy_git_repository ((git_repository *)3ul) /* Random bogus pointer, not NULL */