diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-07-24 19:53:21 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-24 13:20:57 -0700 |
commit | 76fe262a0ffac68cf61da470772d2e370d9e019d (patch) | |
tree | a1f9e39bc1fcbc3e27e274e028da36e7ce7ff314 /divesite.h | |
parent | 0d2d91a28c1c10a0ee36c42610f618265a5f48be (diff) | |
download | subsurface-76fe262a0ffac68cf61da470772d2e370d9e019d.tar.gz |
Allow creating new dive site with specific uuid
Test cases require deterministic results and thus we should allow uuid
to be specified when needed.
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divesite.h')
-rw-r--r-- | divesite.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/divesite.h b/divesite.h index d1d6ba9ae..71f64a0a1 100644 --- a/divesite.h +++ b/divesite.h @@ -49,7 +49,7 @@ static inline struct dive_site *get_dive_site_by_uuid(uint32_t uuid) return NULL; } -struct dive_site *alloc_dive_site(); +struct dive_site *alloc_dive_site(uint32_t uuid); int nr_of_dives_at_dive_site(uint32_t uuid, bool select_only); bool is_dive_site_used(uint32_t uuid, bool select_only); void delete_dive_site(uint32_t id); |