diff options
author | Daniel Stone <daniel@fooishbar.org> | 2011-06-21 15:55:28 +0100 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2011-06-21 15:55:28 +0100 |
commit | b34af8b0aec3a1dfc58f9732996274cbf2646a53 (patch) | |
tree | 6b4742c4d8bd31e0b7e1826c4d1aff5015d40685 | |
parent | e68a8ef1067f98056237d8067052e2a0d9896133 (diff) |
Constify LookupKeysym input argument
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-rw-r--r-- | parseutils.c | 2 | ||||
-rw-r--r-- | parseutils.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/parseutils.c b/parseutils.c index 4aa859d..fe0a536 100644 --- a/parseutils.c +++ b/parseutils.c @@ -622,7 +622,7 @@ AppendKeysymList(ExprDef * list, char *sym) } int -LookupKeysym(char *str, KeySym * sym_rtrn) +LookupKeysym(const char *str, KeySym * sym_rtrn) { KeySym sym; char *tmp; diff --git a/parseutils.h b/parseutils.h index 0d06ce9..c6ac4ce 100644 --- a/parseutils.h +++ b/parseutils.h @@ -164,7 +164,7 @@ extern ExprDef *AppendKeysymList(ExprDef * /* list */ , char * /* sym */ ); -extern int LookupKeysym(char * /* str */ , +extern int LookupKeysym(const char * /* str */ , KeySym * /* sym_rtrn */ ); |