summaryrefslogtreecommitdiffstats
path: root/core/dive.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/dive.h')
-rw-r--r--core/dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h
index c155abbfd..3793cc359 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -719,7 +719,7 @@ extern "C" {
extern int report_error(const char *fmt, ...);
extern const char *get_error_string(void);
-extern void set_error_cb(void(*cb)(void));
+extern void set_error_cb(void(*cb)(char *)); // Callback takes ownership of passed string
extern struct dive *find_dive_including(timestamp_t when);
extern bool dive_within_time_range(struct dive *dive, timestamp_t when, timestamp_t offset);