diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-25 18:29:15 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-25 13:59:52 -0700 |
commit | 975ef65913754a65d53cc079756a881be9754637 (patch) | |
tree | b0850c04fdce007aed696012261f9361a6b6e3ba | |
parent | f2494931e951c5596231538afabc3a9dddf6d1c5 (diff) | |
download | subsurface-975ef65913754a65d53cc079756a881be9754637.tar.gz |
cleanup: move sort_dive_table declaration to divetable.h
Apparently this was forgotten in a previous include-reshuffling.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r-- | core/dive.h | 1 | ||||
-rw-r--r-- | core/divelist.h | 1 | ||||
-rw-r--r-- | core/ostctools.c | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h index 88f818e81..38ef66752 100644 --- a/core/dive.h +++ b/core/dive.h @@ -175,7 +175,6 @@ extern int legacy_format_o2pressures(const struct dive *dive, const struct divec extern bool dive_less_than(const struct dive *a, const struct dive *b); extern bool dive_or_trip_less_than(struct dive_or_trip a, struct dive_or_trip b); -extern void sort_dive_table(struct dive_table *table); extern struct dive *fixup_dive(struct dive *dive); extern pressure_t calculate_surface_pressure(const struct dive *dive); extern pressure_t un_fixup_surface_pressure(const struct dive *d); diff --git a/core/divelist.h b/core/divelist.h index 3d9e841e5..8f58cda69 100644 --- a/core/divelist.h +++ b/core/divelist.h @@ -25,6 +25,7 @@ extern struct dive_table dive_table; /* this is used for both git and xml format */ #define DATAFORMAT_VERSION 3 +extern void sort_dive_table(struct dive_table *table); extern void update_cylinder_related_info(struct dive *); extern int init_decompression(struct deco_state *ds, struct dive *dive); diff --git a/core/ostctools.c b/core/ostctools.c index 77aac8946..1ae04a763 100644 --- a/core/ostctools.c +++ b/core/ostctools.c @@ -8,6 +8,7 @@ #include "subsurface-string.h" #include "gettext.h" #include "dive.h" +#include "divelist.h" #include "extradata.h" #include "file.h" #include "libdivecomputer.h" |