aboutsummaryrefslogtreecommitdiff
path: root/termkey.h.in
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2013-07-15 01:03:35 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2013-07-15 01:03:35 +0100
commit89ac8b058cb7bb8f7bc47a4a42fa5642abc84dae (patch)
treefc5c8e50b8dde9ec35a87c148e8f06bcc9cad7eb /termkey.h.in
parentb4067d8afb3f6d24b341eca46bb031f56011ab05 (diff)
downloadtermo-89ac8b058cb7bb8f7bc47a4a42fa5642abc84dae.tar.gz
termo-89ac8b058cb7bb8f7bc47a4a42fa5642abc84dae.tar.xz
termo-89ac8b058cb7bb8f7bc47a4a42fa5642abc84dae.zip
Make some more things 'const' that should be
Diffstat (limited to 'termkey.h.in')
-rw-r--r--termkey.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/termkey.h.in b/termkey.h.in
index 95f315b..677d5e7 100644
--- a/termkey.h.in
+++ b/termkey.h.in
@@ -198,7 +198,7 @@ size_t termkey_push_bytes(TermKey *tk, const char *bytes, size_t len);
TermKeySym termkey_register_keyname(TermKey *tk, TermKeySym sym, const char *name);
const char *termkey_get_keyname(TermKey *tk, TermKeySym sym);
-char *termkey_lookup_keyname(TermKey *tk, const char *str, TermKeySym *sym);
+const char *termkey_lookup_keyname(TermKey *tk, const char *str, TermKeySym *sym);
TermKeySym termkey_keyname2sym(TermKey *tk, const char *keyname);
@@ -223,8 +223,8 @@ typedef enum {
#define TERMKEY_FORMAT_VIM (TERMKEY_FORMAT_ALTISMETA|TERMKEY_FORMAT_WRAPBRACKET)
-size_t termkey_strfkey(TermKey *tk, char *buffer, size_t len, TermKeyKey *key, TermKeyFormat format);
-char *termkey_strpkey(TermKey *tk, const char *str, TermKeyKey *key, TermKeyFormat format);
+size_t termkey_strfkey(TermKey *tk, char *buffer, size_t len, TermKeyKey *key, TermKeyFormat format);
+const char *termkey_strpkey(TermKey *tk, const char *str, TermKeyKey *key, TermKeyFormat format);
int termkey_keycmp(TermKey *tk, const TermKeyKey *key1, const TermKeyKey *key2);