From 8ce7c4664a71f86c49091f7ddec10fbc0cccf095 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 1 May 2020 12:48:17 +0200 Subject: cleanup: move DECOTIMESTEP from dive.h to planner.h Long-term project: reduce the size of dive.h Signed-off-by: Berthold Stoeger --- core/dive.h | 2 -- core/planner.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/dive.h b/core/dive.h index 2c5a28d72..8e9185daa 100644 --- a/core/dive.h +++ b/core/dive.h @@ -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); diff --git a/core/planner.h b/core/planner.h index 06600054d..6d0353db0 100644 --- a/core/planner.h +++ b/core/planner.h @@ -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; -- cgit v1.2.3-70-g09d2