summaryrefslogtreecommitdiffstats
path: root/core/deco.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-06-04 18:34:54 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-06-19 13:11:10 -0700
commite2937f06146f74a527a04ac39e631dd040277e7f (patch)
treeec858fb27d9a83fc4f8e69a4d1ae99893a656ed7 /core/deco.h
parent5514047b43e3ade620050448ca0eb41928b88221 (diff)
downloadsubsurface-e2937f06146f74a527a04ac39e631dd040277e7f.tar.gz
Cleanup: move function declaration into header file
The function declarations of regressiona(), regressionb() and reset_regression() were given in an independent translation unit. Move them into the proper header file. To ensure consistent function signatures is the whole point of header files, after all. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/deco.h')
-rw-r--r--core/deco.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/deco.h b/core/deco.h
index 717aa94cf..a86ab1a47 100644
--- a/core/deco.h
+++ b/core/deco.h
@@ -12,6 +12,10 @@ extern int deco_allowed_depth(double tissues_tolerance, double surface_pressure,
double get_gf(struct deco_state *ds, double ambpressure_bar, const struct dive *dive);
+extern double regressiona();
+extern double regressionb();
+extern void reset_regression();
+
#ifdef __cplusplus
}
#endif