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 Alberto Mardegan <mardy@users.sourceforge.net>2013-04-02 19:55:44 +0300
commit2f759f52e12e2e065f6022797dc51106a7093899 (patch)
treec0c4c6ec66f6ce3e774d6b5545d28d3fcb4b5023 /dive.h
parent40e3671bd2656be9657abe8c6d955cef612805c5 (diff)
downloadsubsurface-2f759f52e12e2e065f6022797dc51106a7093899.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: 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 4528ac1db..5efde438d 100644
--- a/dive.h
+++ b/dive.h
@@ -555,7 +555,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 *);