mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
c519d0b32f
commit
f4677d7604
2 changed files with 8 additions and 5 deletions
3
dive.h
3
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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue