Changeset eabba1f0 in subsurface


Ignore:
Timestamp:
Dec 28, 2017, 8:30:25 AM (4 weeks ago)
Author:
Jan Mulder <jlmulder@…>
Branches:
master
Children:
92a5e064
Parents:
34c3818
git-author:
Jan Mulder <jlmulder@…> (12/28/17 02:26:13)
git-committer:
Jan Mulder <jlmulder@…> (12/28/17 08:30:25)
Message:

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@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/dive.h

    r8217057 reabba1f0  
    941941        int time;
    942942};
    943 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);
    944 void calc_crushing_pressure(struct deco_state *ds, double pressure);
    945 void vpmb_start_gradient(struct deco_state *ds);
    946 void clear_vpmb_state();
    947 void printdecotable(struct decostop *table);
    948 
    949 void delete_single_dive(int idx);
    950 
    951 struct event *get_next_event(struct event *event, const char *name);
     943extern 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);
     944extern void calc_crushing_pressure(struct deco_state *ds, double pressure);
     945extern void vpmb_start_gradient(struct deco_state *ds);
     946extern void clear_vpmb_state(struct deco_state *ds);
     947extern void printdecotable(struct decostop *table);
     948
     949extern struct event *get_next_event(struct event *event, const char *name);
    952950
    953951static inline struct gasmix *get_gasmix(struct dive *dive, struct divecomputer *dc, int time, struct event **evp, struct gasmix *gasmix)
Note: See TracChangeset for help on using the changeset viewer.