From 2f759f52e12e2e065f6022797dc51106a7093899 Mon Sep 17 00:00:00 2001 From: Alberto Mardegan Date: Tue, 2 Apr 2013 18:46:41 +0300 Subject: 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 --- dive.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dive.h') 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 *); -- cgit v1.2.3-70-g09d2