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>
24 lines
495 B
C
24 lines
495 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef DECO_H
|
|
#define DECO_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern double buehlmann_N2_t_halflife[];
|
|
|
|
extern int deco_allowed_depth(double tissues_tolerance, double surface_pressure, const struct dive *dive, bool smooth);
|
|
|
|
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
|
|
|
|
#endif // DECO_H
|