summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/dive.h2
-rw-r--r--core/gaspressures.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/core/dive.h b/core/dive.h
index a862748d7..935da735d 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -429,6 +429,7 @@ extern timestamp_t picture_get_timestamp(const char *filename);
extern void dive_set_geodata_from_picture(struct dive *d, struct picture *pic);
extern void picture_free(struct picture *picture);
+extern bool has_gaschange_event(struct dive *dive, struct divecomputer *dc, int idx);
extern int explicit_first_cylinder(struct dive *dive, struct divecomputer *dc);
extern int get_depth_at_time(struct divecomputer *dc, unsigned int time);
@@ -970,7 +971,6 @@ static inline struct gasmix *get_gasmix(struct dive *dive, struct divecomputer *
return gasmix;
}
-
/* these structs holds the information that
* describes the cylinders / weight systems.
* they are global variables initialized in equipment.c
diff --git a/core/gaspressures.c b/core/gaspressures.c
index 3205a00f6..206998101 100644
--- a/core/gaspressures.c
+++ b/core/gaspressures.c
@@ -331,8 +331,6 @@ static void debug_print_pressures(struct plot_info *pi)
}
#endif
-extern bool has_gaschange_event(struct dive *dive, struct divecomputer *dc, int idx);
-
/* This function goes through the list of tank pressures, either SENSOR_PRESSURE(entry) or O2CYLINDER_PRESSURE(entry),
* of structure plot_info for the dive profile where each item in the list corresponds to one point (node) of the
* profile. It finds values for which there are no tank pressures (pressure==0). For each missing item (node) of