aboutsummaryrefslogtreecommitdiffstats
path: root/core/divesite.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/divesite.h')
-rw-r--r--core/divesite.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/divesite.h b/core/divesite.h
index d6ec4e51d..30daf3bea 100644
--- a/core/divesite.h
+++ b/core/divesite.h
@@ -31,6 +31,8 @@ typedef struct dive_site_table {
struct dive_site **dive_sites;
} dive_site_table_t;
+static const dive_site_table_t empty_dive_site_table = { 0, 0, (struct dive_site **)0 };
+
extern struct dive_site_table dive_site_table;
static inline struct dive_site *get_dive_site(int nr, struct dive_site_table *ds_table)