summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Alberto Mardegan <mardy@users.sourceforge.net>2013-04-02 18:46:41 +0300
committerGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-04-07 17:37:09 +0200
commit68119c5b5415c2797e11356dc8db63bd84c577cf (patch)
tree69984129fe914f3cae60523227fc20f1c62eb173 /dive.h
parent0b8462bd584c7606e3a9091947ccdbf04a32dea8 (diff)
downloadsubsurface-68119c5b5415c2797e11356dc8db63bd84c577cf.tar.gz
Move set_filename() calls outside of parse_file()
Remove the boolean parameter from parse_file; the code is more readable by having an explicit call to set_filename() where necessary, rather than a boolean parameter. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Alberto Mardegan <mardy@users.sourceforge.net>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index 7d08828a8..5daafb38c 100644
--- a/dive.h
+++ b/dive.h
@@ -551,7 +551,7 @@ extern void set_filename(const char *filename, gboolean force);
extern int parse_dm4_buffer(const char *url, const char *buf, int size, struct dive_table *table, GError **error);
-extern void parse_file(const char *filename, GError **error, gboolean possible_default_filename);
+extern void parse_file(const char *filename, GError **error);
extern void show_dive_info(struct dive *);