mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
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>
This commit is contained in:
parent
5514047b43
commit
e2937f0614
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -35,10 +35,6 @@ static int decostoplevels_imperial[] = { 0, 3048, 6096, 9144, 12192, 15240, 1828
|
|||
182880, 193040, 203200, 223520, 243840, 264160, 284480, 304800,
|
||||
325120, 345440, 365760, 386080 };
|
||||
|
||||
extern double regressiona();
|
||||
extern double regressionb();
|
||||
extern void reset_regression();
|
||||
|
||||
char *disclaimer;
|
||||
int plot_depth = 0;
|
||||
#if DEBUG_PLAN
|
||||
|
|
Loading…
Add table
Reference in a new issue