summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-21 11:29:21 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-21 11:29:21 -0700
commit19586081ed57c28aed9a649f08db4d415e72dca6 (patch)
tree02ac1d95cbeff9383ae7ff0736e098b2ce34b2f1 /dive.h
parente7b84233af14723814f1340010bb86c6801f1e06 (diff)
downloadsubsurface-19586081ed57c28aed9a649f08db4d415e72dca6.tar.gz
Correctly use the weightsystem_none / cylinder_none helpers
Plus a couple of minor formatting changes Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index 7c65c39fe..06c28e0f3 100644
--- a/dive.h
+++ b/dive.h
@@ -157,6 +157,7 @@ typedef struct {
extern bool cylinder_nodata(cylinder_t *cyl);
extern bool cylinder_none(void *_data);
+extern bool weightsystem_none(void *_data);
extern bool no_weightsystems(weightsystem_t *ws);
extern bool weightsystems_equal(weightsystem_t *ws1, weightsystem_t *ws2);
@@ -377,7 +378,7 @@ struct dive {
pressure_t surface_pressure;
duration_t duration;
int salinity; // kg per 10000 l
- int dive_tags;
+ int dive_tags;
struct divecomputer dc;
};