diff options
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/events.c | 2 | ||||
-rw-r--r-- | libcrystfel/src/events.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/events.c b/libcrystfel/src/events.c index 93d67a68..d40d2021 100644 --- a/libcrystfel/src/events.c +++ b/libcrystfel/src/events.c @@ -388,7 +388,7 @@ char *get_event_string(struct event *ev) } -struct event *get_event_from_event_string(char *ev_string) +struct event *get_event_from_event_string(const char *ev_string) { struct event *ev; char *ev_sep; diff --git a/libcrystfel/src/events.h b/libcrystfel/src/events.h index ff4cf1fb..8cb00962 100644 --- a/libcrystfel/src/events.h +++ b/libcrystfel/src/events.h @@ -75,7 +75,7 @@ extern int pop_dim_entry_from_event(struct event *ev); extern struct event *copy_event(struct event *ev); extern void free_event(struct event *ev); extern char *get_event_string(struct event *ev); -extern struct event *get_event_from_event_string(char *ev_string); +extern struct event *get_event_from_event_string(const char *ev_string); extern char *event_path_placeholder_subst(const char *ev_name, const char *data); extern char *partial_event_substitution(struct event *ev, const char *data); |