diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-16 17:55:14 -0800 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-11-17 15:25:26 +0100 |
commit | 2e82a5d2ed6966cb1ac0fb9751278d357ae6346d (patch) | |
tree | 0ddef18162f79f0b341fd51db7d1f69379590fde /core/gaspressures.c | |
parent | 8136c2d78b5769c4dfca0f6d68b1a9ccb95f698e (diff) | |
download | subsurface-2e82a5d2ed6966cb1ac0fb9751278d357ae6346d.tar.gz |
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>
Diffstat (limited to 'core/gaspressures.c')
-rw-r--r-- | core/gaspressures.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 |