diff options
-rw-r--r-- | dive.h | 2 | ||||
-rw-r--r-- | profile.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -811,7 +811,7 @@ void dump_plan(struct diveplan *diveplan); int plan(struct diveplan *diveplan, char **cached_datap, bool is_planner, bool show_disclaimer); void delete_single_dive(int idx); -struct event *get_next_event(struct event *event, char *name); +struct event *get_next_event(struct event *event, const char *name); /* these structs holds the information that @@ -336,7 +336,7 @@ int get_cylinder_index(struct dive *dive, struct event *ev) return best; } -struct event *get_next_event(struct event *event, char *name) +struct event *get_next_event(struct event *event, const char *name) { if (!name || !*name) return NULL; |