aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/dive.h3
-rw-r--r--core/divelist.h2
-rw-r--r--core/git-access.h4
3 files changed, 6 insertions, 3 deletions
diff --git a/core/dive.h b/core/dive.h
index c596061d9..f6ad9bf1c 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -127,9 +127,6 @@ extern depth_t gas_mnd(struct gasmix mix, depth_t end, const struct dive *dive,
extern bool autogroup;
-struct dive *unregister_dive(int idx);
-extern void delete_single_dive(int idx);
-
extern int quit, force_root, ignore_bt;
#ifdef SUBSURFACE_MOBILE_DESKTOP
extern char *testqml;
diff --git a/core/divelist.h b/core/divelist.h
index 7a7687293..3d9e841e5 100644
--- a/core/divelist.h
+++ b/core/divelist.h
@@ -68,6 +68,8 @@ int get_dive_id_closest_to(timestamp_t when);
void clear_dive_file_data();
void clear_dive_table(struct dive_table *table);
void move_dive_table(struct dive_table *src, struct dive_table *dst);
+struct dive *unregister_dive(int idx);
+extern void delete_single_dive(int idx);
#ifdef __cplusplus
}
diff --git a/core/git-access.h b/core/git-access.h
index 30c7b7da6..7bdbff971 100644
--- a/core/git-access.h
+++ b/core/git-access.h
@@ -5,6 +5,10 @@
#include "git2.h"
#include "filterpreset.h"
+struct dive_table;
+struct dive_site_table;
+struct trip_table;
+
#ifdef __cplusplus
extern "C" {
#else