cleanup: move DECOTIMESTEP from dive.h to planner.h
Long-term project: reduce the size of dive.h Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
44132e44a9
commit
8ce7c4664a
@ -398,8 +398,6 @@ extern void subsurface_command_line_exit(int *, char ***);
|
||||
|
||||
#define FRACTION(n, x) ((unsigned)(n) / (x)), ((unsigned)(n) % (x))
|
||||
|
||||
#define DECOTIMESTEP 60 /* seconds. Unit of deco stop times */
|
||||
|
||||
extern bool is_dc_planner(const struct divecomputer *dc);
|
||||
extern bool has_planned(const struct dive *dive, bool planned);
|
||||
|
||||
|
||||
@ -8,6 +8,8 @@
|
||||
#include "units.h"
|
||||
#include "divemode.h"
|
||||
|
||||
#define DECOTIMESTEP 60 /* seconds. Unit of deco stop times */
|
||||
|
||||
/* this should be converted to use our types */
|
||||
struct divedatapoint {
|
||||
int time;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user