mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Correctly use the weightsystem_none / cylinder_none helpers
Plus a couple of minor formatting changes Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e7b84233af
commit
19586081ed
3 changed files with 14 additions and 16 deletions
3
dive.h
3
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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue