From 0173db74f803d3e11f296f272e304dceb3b639db Mon Sep 17 00:00:00 2001 From: Burt P Date: Fri, 5 Jul 2019 09:13:15 -0500 Subject: shell: key_* functions use const Signed-off-by: Burt P --- includes/shell.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'includes') diff --git a/includes/shell.h b/includes/shell.h index c6570088..fd70b076 100644 --- a/includes/shell.h +++ b/includes/shell.h @@ -219,11 +219,11 @@ void shell_update_remote_menu(void); void shell_set_remote_label(Shell *shell, gchar *label); /* decode special information in keys */ -gboolean key_is_flagged(gchar *key); /* has $[][]$ at the start of the key */ -gboolean key_is_highlighted(gchar *key); /* flag '*' = select/highlight */ -gboolean key_wants_details(gchar *key); /* flag '!' = report should include the "moreinfo" */ -gchar *key_mi_tag(gchar *key); /* moreinfo lookup tag */ -const gchar *key_get_name(gchar *key); /* get the key's name, flagged or not */ +gboolean key_is_flagged(const gchar *key); /* has $[][]$ at the start of the key */ +gboolean key_is_highlighted(const gchar *key); /* flag '*' = select/highlight */ +gboolean key_wants_details(const gchar *key); /* flag '!' = report should include the "moreinfo" */ +gchar *key_mi_tag(const gchar *key); /* moreinfo lookup tag */ +const gchar *key_get_name(const gchar *key); /* get the key's name, flagged or not */ #endif /* __SHELL_H__ */ -- cgit v1.2.3