mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:13:23 +00:00
cleanup: correct signature and declare extern
clear_vpmb_state() was declared with incorrect signature, and all functios in this change are extern, so declare them as such. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
34c3818bd7
commit
eabba1f071
1 changed files with 6 additions and 8 deletions
14
core/dive.h
14
core/dive.h
|
@ -940,15 +940,13 @@ struct decostop {
|
|||
int depth;
|
||||
int time;
|
||||
};
|
||||
bool plan(struct deco_state *ds, struct diveplan *diveplan, struct dive *dive, int timestep, struct decostop *decostoptable, struct deco_state **cached_datap, bool is_planner, bool show_disclaimer);
|
||||
void calc_crushing_pressure(struct deco_state *ds, double pressure);
|
||||
void vpmb_start_gradient(struct deco_state *ds);
|
||||
void clear_vpmb_state();
|
||||
void printdecotable(struct decostop *table);
|
||||
extern bool plan(struct deco_state *ds, struct diveplan *diveplan, struct dive *dive, int timestep, struct decostop *decostoptable, struct deco_state **cached_datap, bool is_planner, bool show_disclaimer);
|
||||
extern void calc_crushing_pressure(struct deco_state *ds, double pressure);
|
||||
extern void vpmb_start_gradient(struct deco_state *ds);
|
||||
extern void clear_vpmb_state(struct deco_state *ds);
|
||||
extern void printdecotable(struct decostop *table);
|
||||
|
||||
void delete_single_dive(int idx);
|
||||
|
||||
struct event *get_next_event(struct event *event, const char *name);
|
||||
extern struct event *get_next_event(struct event *event, const char *name);
|
||||
|
||||
static inline struct gasmix *get_gasmix(struct dive *dive, struct divecomputer *dc, int time, struct event **evp, struct gasmix *gasmix)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue