diff options
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -7,12 +7,6 @@ #include <math.h> #include <sys/param.h> -#if 0 -#include <glib.h> -#include <glib/gstdio.h> -#else /* this is stupid - this doesn't deal with translations anymore */ -#define _(arg) arg -#endif #include <libxml/tree.h> #include <libxslt/transform.h> @@ -744,7 +738,7 @@ void free_dps(struct divedatapoint *dp); void get_gas_string(int o2, int he, char *buf, int len); struct divedatapoint *create_dp(int time_incr, int depth, int o2, int he, int po2); void dump_plan(struct diveplan *diveplan); -void plan(struct diveplan *diveplan, char **cached_datap, struct dive **divep, bool add_deco, char **error_string_p); +void plan(struct diveplan *diveplan, char **cached_datap, struct dive **divep, bool add_deco, const char **error_string_p); void delete_single_dive(int idx); struct event *get_next_event(struct event *event, char *name); |