aboutsummaryrefslogtreecommitdiff
path: root/includes/shell.h
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2019-07-05 09:13:15 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2019-07-05 19:59:59 -0700
commit0173db74f803d3e11f296f272e304dceb3b639db (patch)
treecdeda1fcaee383520b03ae423ddedb8039dbaed3 /includes/shell.h
parentf21e8f4857191fa22a17113c01c08a6a2b71c5aa (diff)
shell: key_* functions use const
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'includes/shell.h')
-rw-r--r--includes/shell.h10
1 files changed, 5 insertions, 5 deletions
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 $[<flags>][<tag>]$ 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 $[<flags>][<tag>]$ 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__ */