aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-06-13 15:42:11 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-29 16:13:03 -0700
commit4a78f5798ac23d5742e47a2aa99c81493d6b280d (patch)
tree3671e776783019564d9ee548b5d7566cd48f2317
parent448bc5600bb2d0dccac39559e865df412d8e1363 (diff)
downloadsubsurface-4a78f5798ac23d5742e47a2aa99c81493d6b280d.tar.gz
includes: move declaration of set_filename() from dive.h to qthelper.h
Declare the function in the header file corresponding to the source file where the function is defined. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r--core/dive.h1
-rw-r--r--core/qthelper.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h
index e12f8f7f5..ff77edac5 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -278,7 +278,6 @@ extern int match_one_dc(const struct divecomputer *a, const struct divecomputer
extern void parse_xml_init(void);
extern int parse_xml_buffer(const char *url, const char *buf, int size, struct dive_table *table, struct trip_table *trips, struct dive_site_table *sites, const char **params);
extern void parse_xml_exit(void);
-extern void set_filename(const char *filename);
extern int save_dives(const char *filename);
extern int save_dives_logic(const char *filename, bool select_only, bool anonymize);
diff --git a/core/qthelper.h b/core/qthelper.h
index 16303fe7d..b703a38b4 100644
--- a/core/qthelper.h
+++ b/core/qthelper.h
@@ -138,6 +138,7 @@ bool canReachCloudServer();
void updateWindowTitle();
void subsurface_mkdir(const char *dir);
char *get_file_name(const char *fileName);
+void set_filename(const char *filename);
void copy_image_and_overwrite(const char *cfileName, const char *path, const char *cnewName);
char *move_away(const char *path);
const char *local_file_path(struct picture *picture);