diff options
-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" |