diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-05-01 12:48:17 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-05-01 09:42:31 -0700 |
commit | 8ce7c4664a71f86c49091f7ddec10fbc0cccf095 (patch) | |
tree | 922f440fc2ae5f4ec2befda8fa19f362b7af8e8f | |
parent | 44132e44a9ada802641d8dc1dd98c77d4c06e655 (diff) | |
download | subsurface-8ce7c4664a71f86c49091f7ddec10fbc0cccf095.tar.gz |
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>
-rw-r--r-- | core/dive.h | 2 | ||||
-rw-r--r-- | core/planner.h | 2 |
2 files changed, 2 insertions, 2 deletions
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; |