diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/divelist.c | 1 | ||||
-rw-r--r-- | core/divelist.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/core/divelist.c b/core/divelist.c index a9ce0d7a3..4367b8708 100644 --- a/core/divelist.c +++ b/core/divelist.c @@ -899,6 +899,7 @@ void deselect_dive(struct dive *dive) } } +int shown_dives = 0; void filter_dive(struct dive *d, bool shown) { if (!d) diff --git a/core/divelist.h b/core/divelist.h index dc3ab1302..c0f70ccb6 100644 --- a/core/divelist.h +++ b/core/divelist.h @@ -9,6 +9,7 @@ extern "C" { #endif struct deco_state; +extern int shown_dives; /* this is used for both git and xml format */ #define DATAFORMAT_VERSION 3 |