mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Properly declare 'has_gaschange_event()' function
It's already used in core/gaspressures.c where it was declared privately, and we'll have a new user in the profile code, so just declare it in a proper header file like it should have been. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
8136c2d78b
commit
2e82a5d2ed
2 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue