diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-21 11:29:21 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-21 11:29:21 -0700 |
commit | 19586081ed57c28aed9a649f08db4d415e72dca6 (patch) | |
tree | 02ac1d95cbeff9383ae7ff0736e098b2ce34b2f1 /dive.h | |
parent | e7b84233af14723814f1340010bb86c6801f1e06 (diff) | |
download | subsurface-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; }; |