summaryrefslogtreecommitdiff
path: root/src/xkb/XKB.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-04-16 13:04:23 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-04-23 16:38:49 +0000
commit35d1513bc7fdd3ac6f5807feb601efc34ac19163 (patch)
treeb4d91cf119f24edc45adf0c739cf370c4cc1bfd9 /src/xkb/XKB.c
parentc88ceaad4aaa0439e5cba13c1f5737ad54566e0b (diff)
XkbOpenDisplay: Add _Xconst qualifier to display name argument
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/xkb/XKB.c')
-rw-r--r--src/xkb/XKB.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xkb/XKB.c b/src/xkb/XKB.c
index 055eb367..4df82b24 100644
--- a/src/xkb/XKB.c
+++ b/src/xkb/XKB.c
@@ -721,7 +721,7 @@ XkbGetPerClientControls(Display *dpy, unsigned *ctrls)
}
Display *
-XkbOpenDisplay(char *name,
+XkbOpenDisplay(_Xconst char *name,
int *ev_rtrn,
int *err_rtrn,
int *major_rtrn,