summaryrefslogtreecommitdiffstats
path: root/divesite.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-06-26 15:03:34 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-26 18:50:22 -0700
commit05c5bf0919d57102d5509b58cce0b9e6c527aa6c (patch)
treefbdf79ca7b6f2ad81a15452f2855ce0dec3b13f0 /divesite.h
parent2fec1a88de2a075fd9586f5fb5c57b5bab2a74a6 (diff)
downloadsubsurface-05c5bf0919d57102d5509b58cce0b9e6c527aa6c.tar.gz
Dive site rewrite: try to fix a crash
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divesite.h')
-rw-r--r--divesite.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/divesite.h b/divesite.h
index 13a8d7f38..71f3c0de7 100644
--- a/divesite.h
+++ b/divesite.h
@@ -56,6 +56,7 @@ uint32_t get_dive_site_uuid_by_gps(degrees_t latitude, degrees_t longitude, stru
uint32_t get_dive_site_uuid_by_gps_proximity(degrees_t latitude, degrees_t longitude, int distance, struct dive_site **dsp);
bool dive_site_is_empty(struct dive_site *ds);
void copy_dive_site(struct dive_site *orig, struct dive_site *copy);
+void clear_dive_site(struct dive_site *ds);
#ifdef __cplusplus
}