summaryrefslogtreecommitdiff
path: root/app/xkbevd/printev.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-04-07 16:16:32 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-04-07 16:16:32 +0000
commita1a6c59885d543c9f9a36f1ed820bfd5f0abfae2 (patch)
tree93565340a7e95beed8ba4a20d99abf913db5038b /app/xkbevd/printev.c
parent0af097659919230ae45a3e0058a59d486a54fb57 (diff)
Update to xkbevd 1.1.3
Diffstat (limited to 'app/xkbevd/printev.c')
-rw-r--r--app/xkbevd/printev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/xkbevd/printev.c b/app/xkbevd/printev.c
index 99d3c7238..a66237f2d 100644
--- a/app/xkbevd/printev.c
+++ b/app/xkbevd/printev.c
@@ -46,7 +46,7 @@ static char name[20];
}
static void
-xkb_prologue (FILE *file, XkbEvent *ev, char *name)
+xkb_prologue (FILE *file, XkbEvent *ev, const char *name)
{
XkbAnyEvent *e = &ev->any;
@@ -91,7 +91,7 @@ do_XkbStateNotify(FILE *file, XkbEvent *xkbev)
}
static void
-do_map_message(char *what, int first, int num, int eol)
+do_map_message(const char *what, int first, int num, int eol)
{
if (num>1)
printf("%ss %d..%d changed%s",what,first,first+num-1,(eol?"\n":""));
@@ -182,7 +182,7 @@ static void
do_XkbAccessXNotify(FILE *file, XkbEvent *xkbev)
{
XkbAccessXNotifyEvent *sk = &xkbev->accessx;
- char *detail;
+ const char *detail;
switch (sk->detail) {
case XkbAXN_SKPress: detail= "skpress"; break;
case XkbAXN_SKAccept: detail= "skaccept"; break;