aboutsummaryrefslogtreecommitdiffstats
path: root/core/git-access.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-25 13:32:51 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-25 13:59:52 -0700
commit17d21dbf40782b6eea58d6a6dffa38a5674cc0e0 (patch)
tree4e989bd9f0113b66ed05100b7cbdcd48986bef7c /core/git-access.h
parent0e196310f9cda2ccca27e9cf96186639b5658249 (diff)
downloadsubsurface-17d21dbf40782b6eea58d6a6dffa38a5674cc0e0.tar.gz
cleanup: move function declarations to divelist.h
unregister_dive() and delete_single_dive are defined in divelist.c, as they take an "index" argument into the global divelist. Therefore, move their declarations to divelist.h. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/git-access.h')
-rw-r--r--core/git-access.h4
1 files changed, 4 insertions, 0 deletions
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